VirtualTypeImplementor::GetPropertyValue Method (PropertyInfo^, Object^, array<Object^>^)

 

Gets the value of the requested property.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
virtual Object^ GetPropertyValue(
	PropertyInfo^ propertyInfo,
	Object^ instance,
	array<Object^>^ args
)

Parameters

property

The property for which to get the value.

instance
Type: System::Object^

The instance on which to retrieve the property. This may be null if the property is static.

args
Type: array<System::Object^>^

An optional array of arguments used for parameterized properties. This will never be null, but may be an empty array.

Return Value

Type: System::Object^

An object that represents the requested property.

Exception Condition
NotImplementedException

If non-abstract derived class did not provide an implementation by overriding this method.

Returns the object corresponding to the specified property.

Return to top
Show: