共用方式為


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

'宣告
Public Shared Function IsFileNameInvalid ( _
    fileName As String _
) As Boolean
public static bool IsFileNameInvalid(
    string fileName
)

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

Microsoft.VisualStudio.Shell Namespace