Partager via


AttributedDomainElementHasAttributes.GetLink Method

Get the one AttributedDomainElementHasAttributes link between a given AttributedDomainElementand a ClrAttribute.

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 Function GetLink ( _
    source As AttributedDomainElement, _
    target As ClrAttribute _
) As AttributedDomainElementHasAttributes
public static AttributedDomainElementHasAttributes GetLink(
    AttributedDomainElement source,
    ClrAttribute target
)
public:
static AttributedDomainElementHasAttributes^ GetLink(
    AttributedDomainElement^ source, 
    ClrAttribute^ target
)
static member GetLink : 
        source:AttributedDomainElement * 
        target:ClrAttribute -> AttributedDomainElementHasAttributes 
public static function GetLink(
    source : AttributedDomainElement, 
    target : ClrAttribute
) : AttributedDomainElementHasAttributes

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes

.NET Framework Security

See Also

Reference

AttributedDomainElementHasAttributes Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace