WorkflowMarkupSerializer.GetProperties 方法

定义

检索有关与指定对象关联的所有属性的信息。

protected public:
 virtual cli::array <System::Reflection::PropertyInfo ^> ^ GetProperties(System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializationManager ^ serializationManager, System::Object ^ obj);
protected internal virtual System.Reflection.PropertyInfo[] GetProperties (System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager serializationManager, object obj);
abstract member GetProperties : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> System.Reflection.PropertyInfo[]
override this.GetProperties : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> System.Reflection.PropertyInfo[]
Protected Friend Overridable Function GetProperties (serializationManager As WorkflowMarkupSerializationManager, obj As Object) As PropertyInfo()

参数

serializationManager
WorkflowMarkupSerializationManager

管理序列化过程的 WorkflowMarkupSerializationManager

obj
Object

要搜索属性的 Object

返回

PropertyInfo[]

一个 PropertyInfo 数组,其中包含有关与 obj 关联的属性的信息。

例外

serializationManagerobj 包含空引用(在 Visual Basic 中为 Nothing)。

适用于