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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.