使用指定的分類路徑,初始化 ToolboxCategoryAttribute 類別的新執行個體。
命名空間: Microsoft.Windows.Design
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Sub New ( _
categoryPath As String _
)
public ToolboxCategoryAttribute(
string categoryPath
)
public:
ToolboxCategoryAttribute(
String^ categoryPath
)
new :
categoryPath:string -> ToolboxCategoryAttribute
public function ToolboxCategoryAttribute(
categoryPath : String
)
參數
- categoryPath
型別:System.String
路徑,此類別會在其下進行分類。以正斜線 (/) 做為分隔符號,表示多重層級。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。