DialogPage.MapSerializablePropertyDescriptor 方法

定义

允许观察不同属性的更改,而不是中描述的属性 descriptor AutomationObject

protected:
 virtual bool MapSerializablePropertyDescriptor(System::ComponentModel::PropertyDescriptor ^ descriptor, [Runtime::InteropServices::Out] System::Object ^ % mappedObject, [Runtime::InteropServices::Out] System::ComponentModel::PropertyDescriptor ^ % mappedDescriptor);
protected virtual bool MapSerializablePropertyDescriptor (System.ComponentModel.PropertyDescriptor descriptor, out object mappedObject, out System.ComponentModel.PropertyDescriptor mappedDescriptor);
abstract member MapSerializablePropertyDescriptor : System.ComponentModel.PropertyDescriptor * obj * PropertyDescriptor -> bool
override this.MapSerializablePropertyDescriptor : System.ComponentModel.PropertyDescriptor * obj * PropertyDescriptor -> bool
Protected Overridable Function MapSerializablePropertyDescriptor (descriptor As PropertyDescriptor, ByRef mappedObject As Object, ByRef mappedDescriptor As PropertyDescriptor) As Boolean

参数

descriptor
PropertyDescriptor

描述将在其上观察到的属性 AutomationObject

mappedObject
Object

要观察其属性的对象,而不是 AutomationObject ,如果不进行任何更改,则为 null。

mappedDescriptor
PropertyDescriptor

描述将在其上观察到的属性 mappedObject ,如果不进行任何更改,则为 null。

返回

Boolean

如果 mappedObjectmappedDescriptor 已返回,则为 True; 如果未 (,则为 false,这表示应观察到默认的对象和属性。

适用于