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)
Syntax
'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
)
Parameters
- newAttribute
Type: Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute
.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.