共用方式為


FileType Constructor

Initializes a new FileType instance.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'宣告
Public Sub New ( _
    name As String, _
    extensions As String() _
)
public FileType(
    string name,
    string[] extensions
)
public:
FileType(
    String^ name, 
    array<String^>^ extensions
)
new : 
        name:string * 
        extensions:string[] -> FileType
public function FileType(
    name : String, 
    extensions : String[]
)

Parameters

  • extensions
    Type: array<System.String[]
    An array of valid extensions that excludes '.' characters.

.NET Framework Security

See Also

Reference

FileType Class

Microsoft.TeamFoundation.VersionControl.Client Namespace