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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.