ScriptObject.GetFields(BindingFlags) Metoda

Definice

Získá pole FieldInfo objektů, které odpovídají všem polím aktuálního objektu skriptu.

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

public:
 virtual cli::array <System::Reflection::FieldInfo ^> ^ GetFields(System::Reflection::BindingFlags bindingAttr);
public virtual System.Reflection.FieldInfo[] GetFields(System.Reflection.BindingFlags bindingAttr);
abstract member GetFields : System.Reflection.BindingFlags -> System.Reflection.FieldInfo[]
override this.GetFields : System.Reflection.BindingFlags -> System.Reflection.FieldInfo[]
Public Overridable Function GetFields (bindingAttr As BindingFlags) As FieldInfo()

Parametry

bindingAttr
BindingFlags

Bitové kombinace hodnot výčtu, která určuje, jak je vyhledávání členů prováděno reflexí.

Návraty

Pole objektů, které obsahují všechna pole aktuálního objektu skriptu.

Implementuje

Platí pro

Viz také