StyleSet.AddBrush Method

Add a new Brush to this StyleSet.

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

Syntax

声明
Public Sub AddBrush ( _
    newBrushId As StyleSetResourceId, _
    baseBrushId As StyleSetResourceId, _
    brushSettings As BrushSettings _
)
public void AddBrush(
    StyleSetResourceId newBrushId,
    StyleSetResourceId baseBrushId,
    BrushSettings brushSettings
)
public:
void AddBrush(
    StyleSetResourceId^ newBrushId, 
    StyleSetResourceId^ baseBrushId, 
    BrushSettings^ brushSettings
)
member AddBrush : 
        newBrushId:StyleSetResourceId * 
        baseBrushId:StyleSetResourceId * 
        brushSettings:BrushSettings -> unit 
public function AddBrush(
    newBrushId : StyleSetResourceId, 
    baseBrushId : StyleSetResourceId, 
    brushSettings : BrushSettings
)

Parameters

.NET Framework Security

See Also

Reference

StyleSet Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace