Export (0) Print
Expand All

FileType Class

Represents the type of a file.

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.FileType

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

public sealed class FileType

The FileType type exposes the following members.

  NameDescription
Public methodFileTypeInitializes a new FileType instance.
Top

  NameDescription
Public propertyAllowMultipleCheckoutGets a flag that describes whether the file type allows multiple check-outs.
Public propertyExtensionsGets or sets an array of the extensions that are described by this file type.
Public propertyNameGets or sets the name of the file type.
Top

  NameDescription
Public methodCloneCreates an equivalent instance of a FileType object.
Public methodStatic memberDetect(String, String)Determines the encoding of the specified file.
Public methodStatic memberDetect(String, String, Boolean)Determines the encoding of the specified file.
Public methodStatic memberDetect(String, String, Boolean, Failure[])Determines the encoding of the specified file.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic memberGetDescriptionGets the description of the specified encoding.
Public methodStatic memberGetDisplayNameGets the display name of the specified encoding.
Public methodStatic memberGetEncodingCodePageGets the code page that represents the specified encoding.
Public methodStatic memberGetEncodingFromCodePageGets the encoding that is associated with the specified code page.
Public methodStatic memberGetEncodingNameGets the name of the encoding that is associated with the specified integer.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodStatic memberGetSupportedEncodingDescriptionsGets an array of descriptions of the supported encodings, sorted by encoding name.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringCreates a user-readable string that describes the properties of this FileType object. (Overrides Object.ToString().)
Top

  NameDescription
Public fieldStatic memberAutoFileTypeSpecifies autodetection of file type.
Public fieldStatic memberBinaryFileTypeSpecifies the file as binary file.
Public fieldStatic memberBinaryFileTypeDisplayNameSpecifies the display name of the binary file.
Public fieldStatic memberTextFileTypeSpecifies the file as text file.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft