Partager via


AttributeHasParameters.SetAttribute Method

Sets Attribute.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Déclaration
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

.NET Framework Security

See Also

Reference

AttributeHasParameters Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace