ShapeGeometry.GetBackgroundBrushId Method
Gets the ID that is assigned to the brush that paints the background of the shape geometry.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable Function GetBackgroundBrushId ( _
geometryHost As IGeometryHost _
) As StyleSetResourceId
'Usage
Dim instance As ShapeGeometry
Dim geometryHost As IGeometryHost
Dim returnValue As StyleSetResourceId
returnValue = instance.GetBackgroundBrushId(geometryHost)
public virtual StyleSetResourceId GetBackgroundBrushId(
IGeometryHost geometryHost
)
public:
virtual StyleSetResourceId^ GetBackgroundBrushId(
IGeometryHost^ geometryHost
)
public function GetBackgroundBrushId(
geometryHost : IGeometryHost
) : StyleSetResourceId
Parameters
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe shape or link.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The ID that is assigned to the brush that paints the background of the shape geometry.
.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.