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
fileTypes
Type: array<Microsoft.TeamFoundation.VersionControl.Server.FileType[]New set of file types.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.