Namespace - LJCNetCommon
Syntax
C# |
public class LJCReflect
|
Provides object property reflection capabilities. (DE)
Remarks
This class is commonly used when accessing properties of a Data Object.
The object reference is passed to the constructor.
The property objects can then be accessed with: GetPropertyNames(),
GetPropertyType(), GetValue(), SetPropertyValue() and SetValue()
The typed property values can be retrieved with: GetDateTime(),
GetDbDateString(), GetInt32() and GetString().
Constructor
#ctor
|
Instantiates an instance of the class. |
Collection
Value
GetBoolean
|
Gets the property value as a boolean. |
GetByte
|
Gets the property value as a byte. |
GetChar
|
Gets the property value as a char. |
GetDateTime
|
Gets the property value as a DateTime value. |
GetDbDateString
|
Gets the property value as a DB date/time string. |
GetDecimal
|
Gets the property value as a decimal. |
GetDouble
|
Gets the property value as a double. |
GetInt16
|
Gets the property value as a short. |
GetInt32
|
Gets the property value as an integer. |
GetInt64
|
Gets the property value as a long. |
GetSingle
|
Gets the property value as a float. |
GetString
|
Gets the property value as a string. |
GetValue
|
Gets the property value as an object using a delegate. (E) |
GetValueReflect
|
Gets the property value as an object using reflection. |
Set Methods
22 Methods
Properties
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.