FieldInfo.GetValueDirect(TypedReference) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
- CLS-compliant alternative
- System.Reflection.FieldInfo.GetValue(Object)
Returns the value of a field supported by a given object.
public:
virtual System::Object ^ GetValueDirect(TypedReference obj);
[System.CLSCompliant(false)]
public virtual object? GetValueDirect (TypedReference obj);
[System.CLSCompliant(false)]
public virtual object GetValueDirect (TypedReference obj);
[<System.CLSCompliant(false)>]
abstract member GetValueDirect : TypedReference -> obj
override this.GetValueDirect : TypedReference -> obj
Public Overridable Function GetValueDirect (obj As TypedReference) As Object
Parameters
- obj
- TypedReference
A TypedReference structure that encapsulates a managed pointer to a location and a runtime representation of the type that might be stored at that location.
Returns
An Object
containing a field value.
Implements
- Attributes
Exceptions
The caller requires the Common Language Specification (CLS) alternative, but called this method instead.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.