StyleSet.GetBrushCopy(StyleSetResourceId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a specific Brush from the StyleSet. If it's not in the current one, it looks up the parent chain to see if it can find it there. This is a copy. Caller is responsible for dispose.
public:
System::Drawing::Brush ^ GetBrushCopy(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ brushId);
public System.Drawing.Brush GetBrushCopy (Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId brushId);
member this.GetBrushCopy : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId -> System.Drawing.Brush
Public Function GetBrushCopy (brushId As StyleSetResourceId) As Brush
Parameters
- brushId
- StyleSetResourceId
ID of brush
Returns
A copy of the requested Brush.