GlobalScope.GetField(String, Int32) 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.
Gets a field that has the specified name by searching the scope hierarchy. This method searches only the scope that is specified by the lexical level.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
override System::Reflection::FieldInfo ^ GetField(System::String ^ name, int lexLevel);
public override System.Reflection.FieldInfo GetField (string name, int lexLevel);
override this.GetField : string * int -> System.Reflection.FieldInfo
Public Overrides Function GetField (name As String, lexLevel As Integer) As FieldInfo
Parameters
- name
- String
The name of the field to search for.
- lexLevel
- Int32
The lexical level to search.
Returns
A field that has the specified name.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.