DependencyObject.GetValueBase(DependencyProperty) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 DependencyProperty 系結物件的存取權,並略過 GetValue(DependencyProperty) 覆寫。
public:
System::Object ^ GetValueBase(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty);
public object GetValueBase(System.Workflow.ComponentModel.DependencyProperty dependencyProperty);
member this.GetValueBase : System.Workflow.ComponentModel.DependencyProperty -> obj
Public Function GetValueBase (dependencyProperty As DependencyProperty) As Object
參數
- dependencyProperty
- DependencyProperty
DependencyProperty要獲得價值。
傳回
一個 的 DependencyProperty束縛對象。 這會繞過覆蓋。GetValue(DependencyProperty)
例外狀況
備註
此方法在 GetValue 覆寫實作中非常有用。 通常, GetValue 覆寫碼會呼叫 , GetValueBase然後加入額外的程式碼。
為了實作覆寫,GetValue可以在PropertyMetadataRegister/呼叫中使用。 RegisterAttached