AttributedDomainElementHasAttributes.SetElement(ClrAttribute, AttributedDomainElement) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Задает 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)
Параметры
- element
- ClrAttribute
- newElement
- AttributedDomainElement
- Атрибуты