ScriptObject.GetProperties(BindingFlags) 方法

定義

會得到一個物件陣列 PropertyInfo ,對應目前腳本物件的所有屬性。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

bindingAttr
BindingFlags

以位元組合列舉值,指定如何透過反射方式搜尋成員。

傳回

一個包含當前腳本物件所有屬性的物件陣列。

實作

適用於

另請參閱