Represents the type of a file.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.FileType
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public NotInheritable Class FileType
public sealed class FileType
public ref class FileType sealed
[<Sealed>]
type FileType =  class end
public final class FileType
The FileType type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | FileType | Initializes a new FileType instance. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AllowMultipleCheckout | Gets a flag that describes whether the file type allows multiple check-outs. | 
| .gif) | Extensions | Gets or sets an array of the extensions that are described by this file type. | 
| .gif) | Name | Gets or sets the name of the file type. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Clone | Creates an equivalent instance of a FileType object. | 
| .gif) .gif) | Detect(String, String) | Determines the encoding of the specified file. | 
| .gif) .gif) | Detect(String, String, Boolean) | Determines the encoding of the specified file. | 
| .gif) .gif) | Detect(String, String, Boolean, array<Failure[]%) | Determines the encoding of the specified file. | 
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) .gif) | GetDescription | Gets the description of the specified encoding. | 
| .gif) .gif) | GetDisplayName | Gets the display name of the specified encoding. | 
| .gif) .gif) | GetEncodingCodePage | Gets the code page that represents the specified encoding. | 
| .gif) .gif) | GetEncodingFromCodePage | Gets the encoding that is associated with the specified code page. | 
| .gif) .gif) | GetEncodingName | Gets the name of the encoding that is associated with the specified integer. | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) .gif) | GetSupportedEncodingDescriptions | Gets an array of descriptions of the supported encodings, sorted by encoding name. | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Creates a user-readable string that describes the properties of this FileType object. (Overrides Object.ToString().) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) .gif) | AutoFileType | |
| .gif) .gif) | BinaryFileType | |
| .gif) .gif) | BinaryFileTypeDisplayName | |
| .gif) .gif) | TextFileType | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.