Document Library for WPF | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document Namespace / Utils Class / ValidateFileName Method
The string containg file name to check.

In This Topic
    ValidateFileName Method
    In This Topic
    Check specified string and removed all characters which can not be in file name.
    Syntax
    'Declaration
     
    Public Shared Function ValidateFileName( _
       ByVal s As String _
    ) As String
    public static string ValidateFileName( 
       string s
    )

    Parameters

    s
    The string containg file name to check.

    Return Value

    Returns validated string.
    See Also