共用方式為


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

'宣告
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

.NET Framework Security

See Also

Reference

AttributedDomainElementHasAttributes Class

AttributedDomainElementHasAttributes Overload

Microsoft.VisualStudio.Modeling.DslDefinition Namespace