共用方式為


PolicyList.PolicyCount Property

Gets the number of policies in this list.

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

Syntax

'Declaration
Public ReadOnly Property PolicyCount As Integer
public int PolicyCount { get; }
public:
property int PolicyCount {
    int get ();
}
member PolicyCount : int with get
function get PolicyCount () : int

Property Value

Type: System.Int32
The number of policies in this list.

.NET Framework Security

See Also

Reference

PolicyList Class

Microsoft.TeamFoundation.VersionControl.Client Namespace