AttributeHasParameters.SetAttribute Method
Sets Attribute.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
'Declaration
Public Shared Sub SetAttribute ( _
element As AttributeParameter, _
newAttribute As ClrAttribute _
)
public static void SetAttribute(
AttributeParameter element,
ClrAttribute newAttribute
)
public:
static void SetAttribute(
AttributeParameter^ element,
ClrAttribute^ newAttribute
)
static member SetAttribute :
element:AttributeParameter *
newAttribute:ClrAttribute -> unit
public static function SetAttribute(
element : AttributeParameter,
newAttribute : ClrAttribute
)
- newAttribute
Type: Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute
- 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.