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
- name
Type: System.String
The unique name of the file type.
- extensions
Type: array<System.String[]
An array of valid extensions that excludes '.' characters.
.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.