PropertyIdentifierCollection.Add 方法 (Type, String)
加入新的屬性識別項。
命名空間: Microsoft.Windows.Design.Model
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Sub Add ( _
ownerType As Type, _
name As String _
)
public void Add(
Type ownerType,
string name
)
public:
void Add(
Type^ ownerType,
String^ name
)
member Add :
ownerType:Type *
name:string -> unit
public function Add(
ownerType : Type,
name : String
)
參數
- ownerType
型別:System.Type
要加入之屬性的擁有者型別。
- name
型別:System.String
要加入之屬性的名稱。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
PropertyIdentifierCollection 類別
Microsoft.Windows.Design.Model 命名空間