Provides fast access to the object's public member (property, field or indexer) by name.
Inheritance Hierarchy
NReco.PivotData.ObjectMember
Namespace: NReco.PivotData
Assembly: NReco.PivotData (in NReco.PivotData.dll) Version: 1.4.1
Syntax
The ObjectMember type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ObjectMember | Initializes a new instance of the ObjectMember class |
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | GetValue |
Returns the member value (property, field or indexer) of the specified object.
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Remarks
object arr = new [] { "A", "B", "C" }; var objMember = new ObjectMember(); object arrLen = objMember.GetValue(arr, "Length"); // arrLen=3
See Also