共用方式為


Diagram.OutlinePenId Property

Gets the ID of the pen that draws the outline for the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overrides ReadOnly Property OutlinePenId As StyleSetResourceId
    Get
public override StyleSetResourceId OutlinePenId { get; }
public:
virtual property StyleSetResourceId^ OutlinePenId {
    StyleSetResourceId^ get () override;
}
abstract OutlinePenId : StyleSetResourceId
override OutlinePenId : StyleSetResourceId
override function get OutlinePenId () : StyleSetResourceId

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The ID of the pen that draws the outline for the diagram.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace