Partager via


FileType Class

This class is used to configure per-file name extension settings in the version control system.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.FileType

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

Syntax

'Declaration
Public Class FileType _
    Implements IComparable
public class FileType : IComparable
public ref class FileType : IComparable
type FileType =  
    class 
        interface IComparable 
    end
public class FileType implements IComparable

The FileType type exposes the following members.

Constructors

  Name Description
Public method FileType Public constructor used for marshaling

Top

Properties

  Name Description
Public property AllowMultipleCheckout If false, all "edit" checkouts will require exclusive locks
Public property Extensions List of extensions these settings apply to. Do not include the * or (example: txt)
Public property Name Name of the filetype. Designed to be user-readable, but must be unique.

Top

Methods

  Name Description
Public method CompareTo
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

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.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Server Namespace