EnumerationHasAttributes Constructor (DomainEnumeration, ClrAttribute)
Constructor Creates a EnumerationHasAttributes link in the same Partition as the given DomainEnumeration
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
source As DomainEnumeration, _
target As ClrAttribute _
)
public EnumerationHasAttributes(
DomainEnumeration source,
ClrAttribute target
)
public:
EnumerationHasAttributes(
DomainEnumeration^ source,
ClrAttribute^ target
)
new :
source:DomainEnumeration *
target:ClrAttribute -> EnumerationHasAttributes
public function EnumerationHasAttributes(
source : DomainEnumeration,
target : ClrAttribute
)
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration
DomainEnumeration to use as the source of the relationship.
- target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute
ClrAttribute 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.
See Also
Reference
EnumerationHasAttributes Class