PenDescriptor Constructor
Constructor that creates a descriptor based on a specified PenStyleSetInfo.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Public Sub New ( _
penStyleSetInfo As PenStyleSetInfo _
)
public PenDescriptor(
PenStyleSetInfo penStyleSetInfo
)
public:
PenDescriptor(
PenStyleSetInfo^ penStyleSetInfo
)
new :
penStyleSetInfo:PenStyleSetInfo -> PenDescriptor
public function PenDescriptor(
penStyleSetInfo : PenStyleSetInfo
)
Parameters
- penStyleSetInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.PenStyleSetInfo
PenStyleSetInfo to create this descriptor for.
.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.