The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
PropertyBuilder::GetValue Method (Object^, array<Object^>^)
.NET Framework (current version)
Gets the value of the indexed property by calling the property's getter method.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- obj
-
Type:
System::Object^
The object whose property value will be returned.
- index
-
Type:
array<System::Object^>^
Optional index values for indexed properties. This value should be null for non-indexed properties.
| Exception | Condition |
|---|---|
| NotSupportedException | This method is not supported. |
To get the value of a property, reflect on the property's parent type using Type.GetType or Assembly.GetType, retrieve the Reflection property object from the type, and call PropertyInfo.GetValue.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Available since 1.1
Silverlight
Available since 2.0
Show: