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

 

Sets the value of the requested property.

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

public:
virtual void SetPropertyValue(
	PropertyInfo^ propertyInfo,
	Object^ instance,
	Object^ value,
	array<Object^>^ args
)

Parameters

property

The property for which to set the value.

instance
Type: System::Object^

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

value
Type: System::Object^

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

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

The new value of the property.

Exception Condition
NotImplementedException

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

Return to top
Show: