DomainRoleImplementedByCollectionType.SetCollectionType Method
Sets CollectionType.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
Public Shared Sub SetCollectionType ( _
element As DomainRole, _
newExternalType As ExternalType _
)
public static void SetCollectionType(
DomainRole element,
ExternalType newExternalType
)
public:
static void SetCollectionType(
DomainRole^ element,
ExternalType^ newExternalType
)
static member SetCollectionType :
element:DomainRole *
newExternalType:ExternalType -> unit
public static function SetCollectionType(
element : DomainRole,
newExternalType : ExternalType
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
- newExternalType
Type: Microsoft.VisualStudio.Modeling.DslDefinition.ExternalType
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.