共用方式為


DomainRoleImplementedByCollectionType.SetCollectionType Method

Definition

Sets CollectionType.

public:
 static void SetCollectionType(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::ExternalType ^ newExternalType);
[System.Diagnostics.DebuggerStepThrough]
public static void SetCollectionType (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole element, Microsoft.VisualStudio.Modeling.DslDefinition.ExternalType newExternalType);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetCollectionType : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole * Microsoft.VisualStudio.Modeling.DslDefinition.ExternalType -> unit
Public Shared Sub SetCollectionType (element As DomainRole, newExternalType As ExternalType)

Parameters

element
DomainRole
newExternalType
ExternalType
Attributes

Applies to