PackageUtilities.IsFileNameInvalid Method

Determines whether or not the specified file name is invalid.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Public Shared Function IsFileNameInvalid ( _
    fileName As String _
) As Boolean
用法
Dim fileName As String
Dim returnValue As Boolean

returnValue = PackageUtilities.IsFileNameInvalid(fileName)
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

Return Value

Type: System.Boolean
true if the file name is invalid, false if it is valid.

.NET Framework Security

See Also

Reference

PackageUtilities Class

PackageUtilities Members

Microsoft.VisualStudio.Shell Namespace