共用方式為


DecoratorMapReferencesDecorator.SetDecorator Method

Sets Decorator.

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

Syntax

'宣告
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

.NET Framework Security

See Also

Reference

DecoratorMapReferencesDecorator Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace