Share via


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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public ReadOnly Property IsOne As Boolean
'Usage
Dim instance As DomainRoleInfo 
Dim value As Boolean 

value = instance.IsOne
public bool IsOne { get; }
public:
property bool IsOne {
    bool get ();
}
public 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

DomainRoleInfo Members

Microsoft.VisualStudio.Modeling Namespace