CodeGenerationUtilities.AllowMultiple(DomainRole) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.