共用方式為


PropertyIdentifierCollection.Add 方法 (TypeIdentifier, String)

加入新的屬性識別項。

命名空間:  Microsoft.Windows.Design.Model
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public Sub Add ( _
    typeIdentifier As TypeIdentifier, _
    name As String _
)
public void Add(
    TypeIdentifier typeIdentifier,
    string name
)
public:
void Add(
    TypeIdentifier typeIdentifier, 
    String^ name
)
member Add : 
        typeIdentifier:TypeIdentifier * 
        name:string -> unit 
public function Add(
    typeIdentifier : TypeIdentifier, 
    name : String
)

參數

  • name
    型別:System.String
    要加入至集合中的屬性之名稱。

.NET Framework 安全性

請參閱

參考

PropertyIdentifierCollection 類別

Add 多載

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構