FileType Class
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
'Déclaration
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 | |
---|---|---|
FileType | Initializes a new FileType instance. |
Top
Properties
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. |
Top
Methods
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.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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 a hash function for a particular type. (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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Creates a user-readable string that describes the properties of this FileType object. (Overrides Object.ToString().) |
Top
Fields
Name | Description | |
---|---|---|
AutoFileType | ||
BinaryFileType | ||
BinaryFileTypeDisplayName | ||
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.