AttributedDomainElementHasAttributes Constructor (AttributedDomainElement, ClrAttribute)
Constructor Creates a AttributedDomainElementHasAttributes link in the same Partition as the given AttributedDomainElement
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 Sub New ( _
source As AttributedDomainElement, _
target As ClrAttribute _
)
public AttributedDomainElementHasAttributes(
AttributedDomainElement source,
ClrAttribute target
)
public:
AttributedDomainElementHasAttributes(
AttributedDomainElement^ source,
ClrAttribute^ target
)
new :
source:AttributedDomainElement *
target:ClrAttribute -> AttributedDomainElementHasAttributes
public function AttributedDomainElementHasAttributes(
source : AttributedDomainElement,
target : ClrAttribute
)
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement
AttributedDomainElement 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
AttributedDomainElementHasAttributes Class