PropertyValue.GetValueCore 方法

更新:2007 年 11 月

当在派生类中重写时,返回应当由 Value 属性返回的 Object

命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design(在 Microsoft.Windows.Design.dll 中)

语法

声明
Protected MustOverride Function GetValueCore As Object
用法
Dim returnValue As Object

returnValue = Me.GetValueCore()
protected abstract Object GetValueCore()
protected:
virtual Object^ GetValueCore() abstract
protected abstract function GetValueCore() : Object

返回值

类型:System.Object

应当由 Value 属性返回的对象。

备注

此方法由 Value 属性的 get 方法调用。

此方法不应当捕获异常,而应当传播异常。

权限

另请参见

参考

PropertyValue 类

PropertyValue 成员

Microsoft.Windows.Design.PropertyEditing 命名空间

PropertyEntry

PropertyValueEditor

其他资源

WPF 设计器扩展性

属性编辑体系结构