Compartment.InitializeResources Method
Initializes the style of the compartment shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Protected Overrides Sub InitializeResources ( _
classStyleSet As StyleSet _
)
protected override void InitializeResources(
StyleSet classStyleSet
)
protected:
virtual void InitializeResources(
StyleSet^ classStyleSet
) override
abstract InitializeResources :
classStyleSet:StyleSet -> unit
override InitializeResources :
classStyleSet:StyleSet -> unit
protected override function InitializeResources(
classStyleSet : StyleSet
)
Parameters
- classStyleSet
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSet
The style set, which specifies the pens, brushes, and fonts to use with the compartment shape.
.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.