Compartment.OverrideStyles Method
Set the shape's styles into the given styleset
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Overridable Sub OverrideStyles ( _
styleSet As StyleSet _
)
protected virtual void OverrideStyles(
StyleSet styleSet
)
protected:
virtual void OverrideStyles(
StyleSet^ styleSet
)
abstract OverrideStyles :
styleSet:StyleSet -> unit
override OverrideStyles :
styleSet:StyleSet -> unit
protected function OverrideStyles(
styleSet : StyleSet
)
Parameters
- styleSet
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSet
Remarks
Set the styles of the shape into the given styleset.
.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.