Freigeben über


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: String

    The name of the file.

Return Value

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

.NET Framework Security

See Also

Reference

PackageUtilities Class

Microsoft.VisualStudio.Shell Namespace