VirtualTypeImplementor::GetPropertyValue Method (PropertyInfo^, Object^, array<Object^>^)
Visual Studio 2015
Gets the value of the requested property.
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.
| 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.
Show: