General.HasInvalidWindowsCharacters Method

Does a path or file name have any invalid characters in it
Public Shared Function HasInvalidWindowsCharacters( _ 
ByVal name As String
) As Boolean
This language is not supported or no code example is available.
public static bool HasInvalidWindowsCharacters( 
string name 
)
This language is not supported or no code example is available.
public:  
static bool HasInvalidWindowsCharacters( 
String^ name 
)
This language is not supported or no code example is available.
public static function HasInvalidWindowsCharacters( 
name : String 
) : boolean;
This language is not supported or no code example is available.

Parameters

name
string

<default>

Return Value

bool

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition