VirtualTypeImplementor::SetField Method (FieldInfo^, Object^, Object^)

 

Sets the value of the requested field.

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

public:
virtual void SetField(
	FieldInfo^ field,
	Object^ instance,
	Object^ value
)

Parameters

field
Type: System.Reflection::FieldInfo^

The field for which to set the value.

instance
Type: System::Object^

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

value
Type: System::Object^

The new value of the field.

Exception Condition
NotImplementedException

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

Return to top
Show: