指定 StyleSet のペンをオーバーライドします。
名前空間: Microsoft.VisualStudio.Modeling.Diagrams
アセンブリ: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 内)
構文
'宣言
Protected Overridable Sub OverridePenWorker ( _
penId As StyleSetResourceId, _
basePenId As StyleSetResourceId, _
penSettings As PenSettings _
)
protected virtual void OverridePenWorker(
StyleSetResourceId penId,
StyleSetResourceId basePenId,
PenSettings penSettings
)
パラメーター
- penId
型 : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
この StyleSet に入力するリソースの新しい penId。
- basePenId
型 : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
親 StyleSet のリソースの基本 penId。
- penSettings
型 : Microsoft.VisualStudio.Modeling.Diagrams.PenSettings
オーバーライド指定するもの PenSettings。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。