Extensions.Delete Method (ILayerArtifactReference)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Delete the artifact reference.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Sub Delete ( _
artifactReference As ILayerArtifactReference _
)
public static void Delete(
this ILayerArtifactReference artifactReference
)
[ExtensionAttribute]
public:
static void Delete(
ILayerArtifactReference^ artifactReference
)
static member Delete :
artifactReference:ILayerArtifactReference -> unit
public static function Delete(
artifactReference : ILayerArtifactReference
)
Parameters
artifactReference
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerArtifactReferenceThe artifact reference to delete
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
- 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
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace