Freigeben über


PolicyType.New Method

Creates a new policy instance of this type.

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

Syntax

'Declaration
Public Overridable Function New As IPolicyDefinition
public virtual IPolicyDefinition New()
public:
virtual IPolicyDefinition^ New()
abstract New : unit -> IPolicyDefinition 
override New : unit -> IPolicyDefinition 
public function New() : IPolicyDefinition

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.IPolicyDefinition
The new policy instance of this type.

.NET Framework Security

See Also

Reference

PolicyType Class

Microsoft.TeamFoundation.VersionControl.Client Namespace