ActivityMetadata.GetVariablesWithReflection 方法

定義

傳回使用反映的變數集合。

public:
 System::Collections::ObjectModel::Collection<System::Activities::Variable ^> ^ GetVariablesWithReflection();
public System.Collections.ObjectModel.Collection<System.Activities.Variable> GetVariablesWithReflection ();
member this.GetVariablesWithReflection : unit -> System.Collections.ObjectModel.Collection<System.Activities.Variable>
Public Function GetVariablesWithReflection () As Collection(Of Variable)

傳回

變數的集合。

備註

這個方法會使用 活動的 TypeDescriptor 來檢查 類型 Variable或 或 IList<T>ICollection<T> 衍生自 TVariable的所有公用屬性,並在集合中傳回它們。

適用於