DecoratorMapReferencesDecorator.SetDecorator Method
Sets Decorator.
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 SetDecorator ( _
element As DecoratorMap, _
newDecorator As Decorator _
)
public static void SetDecorator(
DecoratorMap element,
Decorator newDecorator
)
public:
static void SetDecorator(
DecoratorMap^ element,
Decorator^ newDecorator
)
static member SetDecorator :
element:DecoratorMap *
newDecorator:Decorator -> unit
public static function SetDecorator(
element : DecoratorMap,
newDecorator : Decorator
)
Parameters
- newDecorator
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Decorator
.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.