PackageUtilities.IsFileNameInvalid Method
Determines whether or not the specified file name is invalid.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Public Shared Function IsFileNameInvalid ( _
fileName As String _
) As Boolean
public static bool IsFileNameInvalid(
string fileName
)
Parameters
- fileName
Type: System.String
The name of the file.
Return Value
Type: System.Boolean
true if the file name is invalid, false if it is valid.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.