EnumerationHasLiterals Constructor (DomainEnumeration, EnumerationLiteral)
Constructor Creates a EnumerationHasLiterals link in the same Partition as the given DomainEnumeration
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
source As DomainEnumeration, _
target As EnumerationLiteral _
)
public EnumerationHasLiterals(
DomainEnumeration source,
EnumerationLiteral target
)
public:
EnumerationHasLiterals(
DomainEnumeration^ source,
EnumerationLiteral^ target
)
new :
source:DomainEnumeration *
target:EnumerationLiteral -> EnumerationHasLiterals
public function EnumerationHasLiterals(
source : DomainEnumeration,
target : EnumerationLiteral
)
Parameters
source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumerationDomainEnumeration to use as the source of the relationship.
target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationLiteralEnumerationLiteral to use as the target of the relationship.
.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.