public: property System::Object ^ DataSource { System::Object ^ get(); void set(System::Object ^ value); }; public object DataSource { get; set; } member this.DataSource : obj with get, set Public Property DataSource As Object プロパティ値 Object 表示される DataGridView のデータを格納しているオブジェクト。 例外 例 次のコード例では、単純なデータ バインド DataGridViewを初期化する方法を示します。 また、 プロパティを設定 DataSource する方法も示します。 #using <System.Transactions.dll>