次の方法で共有


DomainRoleInfo.IsOne Property

Gets the domain role and verifies whether the multiplicity allows a maximum of one object.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣言
Public ReadOnly Property IsOne As Boolean
    Get
public bool IsOne { get; }
public:
property bool IsOne {
    bool get ();
}
member IsOne : bool
function get IsOne () : boolean

Property Value

Type: System.Boolean
true if the multiplicity allows one object; otherwise, false.

Remarks

Returns true if the multiplicity is either 0..1 or 1..1.

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

Microsoft.VisualStudio.Modeling Namespace