PropertyInvalidatedEventArgs 建構函式
初始化 PropertyInvalidatedEventArgs 類別的新執行個體。
命名空間: Microsoft.Windows.Design.Model
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Sub New ( _
item As ModelItem, _
property As PropertyIdentifier _
)
public PropertyInvalidatedEventArgs(
ModelItem item,
PropertyIdentifier property
)
public:
PropertyInvalidatedEventArgs(
ModelItem^ item,
PropertyIdentifier property
)
new :
item:ModelItem *
property:PropertyIdentifier -> PropertyInvalidatedEventArgs
public function PropertyInvalidatedEventArgs(
item : ModelItem,
property : PropertyIdentifier
)
參數
- item
型別:Microsoft.Windows.Design.Model.ModelItem
與未驗證之屬性相關聯的 ModelItem。
- property
型別:Microsoft.Windows.Design.Metadata.PropertyIdentifier
未驗證之屬性的 PropertyIdentifier。
例外狀況
例外狀況 | 條件 |
---|---|
ArgumentNullException | item 或 property 是 nullNull 參照 (即 Visual Basic 中的 Nothing)。 |
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。