共用方式為


TeamFoundationVersionControlService.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
Public Sub SetFileTypes ( _
    requestContext As TeamFoundationRequestContext, _
    fileTypes As FileType() _
)
public void SetFileTypes(
    TeamFoundationRequestContext requestContext,
    FileType[] fileTypes
)
public:
void SetFileTypes(
    TeamFoundationRequestContext^ requestContext, 
    array<FileType^>^ fileTypes
)
member SetFileTypes : 
        requestContext:TeamFoundationRequestContext * 
        fileTypes:FileType[] -> unit
public function SetFileTypes(
    requestContext : TeamFoundationRequestContext, 
    fileTypes : FileType[]
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace