This documentation is archived and is not being maintained.
FileType Class
Visual Studio 2013
Represents the type of a file.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
The FileType type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AllowMultipleCheckout | Gets a flag that describes whether the file type allows multiple check-outs. |
![]() | Extensions | Gets or sets an array of the extensions that are described by this file type. |
![]() | Name | Gets or sets the name of the file type. |
| Name | Description | |
|---|---|---|
![]() | Clone | Creates an equivalent instance of a FileType object. |
![]() ![]() | Detect(String, String) | Determines the encoding of the specified file. |
![]() ![]() | Detect(String, String, Boolean) | Determines the encoding of the specified file. |
![]() ![]() | Detect(String, String, Boolean, array<Failure>%) | Determines the encoding of the specified file. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() | GetDescription | Gets the description of the specified encoding. |
![]() ![]() | GetDisplayName | Gets the display name of the specified encoding. |
![]() ![]() | GetEncodingCodePage | Gets the code page that represents the specified encoding. |
![]() ![]() | GetEncodingFromCodePage | Gets the encoding that is associated with the specified code page. |
![]() ![]() | GetEncodingName | Gets the name of the encoding that is associated with the specified integer. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() ![]() | GetSupportedEncodingDescriptions | Gets an array of descriptions of the supported encodings, sorted by encoding name. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Creates a user-readable string that describes the properties of this FileType object. (Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | AutoFileType | Specifies autodetection of file type. |
![]() ![]() | BinaryFileType | Specifies the file as binary file. |
![]() ![]() | BinaryFileTypeDisplayName | Specifies the display name of the binary file. |
![]() ![]() | TextFileType | Specifies the file as text file. |
Show:
