CodeGenerationUtilities.AllowMultiple(DomainRole) Method

Definition

Gets if the given role allows multiple instances, based on its Multiplicity.

public:
 static bool AllowMultiple(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ role);
public static bool AllowMultiple (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole role);
static member AllowMultiple : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole -> bool
Public Shared Function AllowMultiple (role As DomainRole) As Boolean

Parameters

role
DomainRole

DomainRole to check.

Returns

True if the role allows multiple, false otherwise.

Applies to