Share via


AttributeHasParameters.SetAttribute(AttributeParameter, ClrAttribute) Method

Definition

Sets Attribute.

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

Parameters

newAttribute
ClrAttribute
Attributes

Applies to