NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PropertyInfo.GetValue (Object, Object[])

[To be supplied.]

[Visual Basic]
Overloads Overridable Public Function GetValue( _
   ByVal obj As Object, _
   ByVal index() As Object _
) As Object
[C#]
public virtual object GetValue(
   object obj,
   object[] index
);
[C++]
public: virtual Object* GetValue(
   Object* obj,
   Object* index[]
);
[JScript]
public function GetValue(
   obj : Object,
   index : Object[]
) : Object;

Parameters

obj
The object whose property value will be returned.
index
[To be supplied.]

Return Value

Returns the property value for obj.

To use the GetValue method, first get the class Type. From the Type, get the PropertyInfo. From the PropertyInfo, use the GetValue method.

Exceptions

Exception Type Condition
ArgumentException the index array doesn't contain the exact number and type of arguments needed.

Remarks

This method is a convenience method that calls the following GetValue method with a BinderFlags parameter of DefaultChangeType, the Binder set to null, and the CultureInfo set to null. Note that the following method is abstract and must be implemented before this method is functional.

See Also

PropertyInfo Class | PropertyInfo Members | System.Reflection Namespace | PropertyInfo.GetValue Overload List