共用方式為


AttributedDomainElementHasAttributes.SetElement Method

Definition

Sets Element.

public:
 static void SetElement(Microsoft::VisualStudio::Modeling::DslDefinition::ClrAttribute ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::AttributedDomainElement ^ newElement);
[System.Diagnostics.DebuggerStepThrough]
public static void SetElement (Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute element, Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement newElement);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetElement : Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute * Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement -> unit
Public Shared Sub SetElement (element As ClrAttribute, newElement As AttributedDomainElement)

Parameters

element
ClrAttribute
Attributes

Applies to