共用方式為


Shelveset.PolicyOverrideComment Property

Gets or sets a user-supplied comment that describes why the policy failed.

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

Syntax

'Declaration
Public Property PolicyOverrideComment As String
public string PolicyOverrideComment { get; set; }
public:
property String^ PolicyOverrideComment {
    String^ get ();
    void set (String^ value);
}
member PolicyOverrideComment : string with get, set
function get PolicyOverrideComment () : String 
function set PolicyOverrideComment (value : String)

Property Value

Type: System.String
A user-supplied comment that describes why the policy failed.

.NET Framework Security

See Also

Reference

Shelveset Class

Microsoft.TeamFoundation.VersionControl.Client Namespace