Share via


Repository.SetFileTypes Method

Replaces the current set of file type definitions.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub SetFileTypes ( _
    fileTypes As FileType() _
)
[WebMethodAttribute]
public void SetFileTypes(
    FileType[] fileTypes
)
[WebMethodAttribute]
public:
void SetFileTypes(
    array<FileType^>^ fileTypes
)
[<WebMethodAttribute>]
member SetFileTypes : 
        fileTypes:FileType[] -> unit
public function SetFileTypes(
    fileTypes : FileType[]
)

Parameters

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace