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

 

Gets the value of the requested field.

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

public:
virtual Object^ GetField(
	FieldInfo^ field,
	Object^ instance
)

Parameters

field
Type: System.Reflection::FieldInfo^

The field to get the value of.

instance
Type: System::Object^

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

Return Value

Type: System::Object^

An object that represents the requested field.

Exception Condition
NotImplementedException

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

Return to top
Show: