共用方式為


CatalogNode.IsDefault Property

True if this node represents the default resource for its type at this level. Only one resource of a given type can be marked default for a given parent. If a node is being saved as default it will remove the default property from the current defualt of this type.

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

Syntax

'Declaration
Public Property IsDefault As Boolean
public bool IsDefault { get; set; }
public:
property bool IsDefault {
    bool get ();
    void set (bool value);
}
member IsDefault : bool with get, set
function get IsDefault () : boolean 
function set IsDefault (value : boolean)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CatalogNode Class

Microsoft.TeamFoundation.Framework.Client Namespace