ArtifactReferenceExtensionsInternal.GetArtifactNode Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the GraphModel node for an artifact reference.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.Internal
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetArtifactNode ( _
    artifactReference As ILayerArtifactReference _
) As GraphNode
public static GraphNode GetArtifactNode(
    this ILayerArtifactReference artifactReference
)
[ExtensionAttribute]
public:
static GraphNode^ GetArtifactNode(
    ILayerArtifactReference^ artifactReference
)
static member GetArtifactNode : 
        artifactReference:ILayerArtifactReference -> GraphNode 
public static function GetArtifactNode(
    artifactReference : ILayerArtifactReference
) : GraphNode

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphNode
The artifact references

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILayerArtifactReference. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

ArtifactReferenceExtensionsInternal Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.Internal Namespace