共用方式為


Repository.QueryFileTypes Method

Returns the list of per-file-extension configuration information.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryFileTypes As List(Of FileType)
[WebMethodAttribute]
public List<FileType> QueryFileTypes()
[WebMethodAttribute]
public:
List<FileType^>^ QueryFileTypes()
[<WebMethodAttribute>]
member QueryFileTypes : unit -> List<FileType> 
public function QueryFileTypes() : List<FileType>

Return Value

Type: System.Collections.Generic.List<FileType>
Array of all FileType objects defined in the system.

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace