PackageUtilities.IsFileNameInvalid Method
Determines whether the specified file name is invalid.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function IsFileNameInvalid ( _
fileName As String _
) As Boolean
public static bool IsFileNameInvalid(
string fileName
)
public:
static bool IsFileNameInvalid(
String^ fileName
)
static member IsFileNameInvalid :
fileName:string -> bool
public static function IsFileNameInvalid(
fileName : String
) : boolean
Parameters
fileName
Type: StringThe name of the file.
Return Value
Type: 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.