共用方式為


PolicyEnvelope.Policy Property

Gets or sets the policy that is contained in this envelope.

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

Syntax

'宣告
Public Property Policy As IPolicyDefinition
    Get
    Set
public IPolicyDefinition Policy { get; set; }
public:
property IPolicyDefinition^ Policy {
    IPolicyDefinition^ get ();
    void set (IPolicyDefinition^ value);
}
member Policy : IPolicyDefinition with get, set
function get Policy () : IPolicyDefinition
function set Policy (value : IPolicyDefinition)

Property Value

Type: Microsoft.TeamFoundation.VersionControl.Client.IPolicyDefinition
The policy that is contained in this envelope.

.NET Framework Security

See Also

Reference

PolicyEnvelope Class

Microsoft.TeamFoundation.VersionControl.Client Namespace