VirtualTypeImplementor::SetField Method (FieldInfo^, Object^, Object^)
Visual Studio 2015
Sets the value of the requested field.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
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. |
Show: