ObjectPath.GetProperties(Object) Method

Definition

Get all properties in an object.

public static System.Collections.Generic.IEnumerable<string> GetProperties (object obj);
static member GetProperties : obj -> seq<string>
Public Shared Iterator Function GetProperties (obj As Object) As IEnumerable(Of String)

Parameters

obj
Object

Object to enumerate property names.

Returns

IEnumerable<String>

enumeration of property names on the object if it is not a value type.

Applies to