LinqDataSource.GetViewNames メソッド

定義

LinqDataSource コントロールに関連付けられているビュー オブジェクトの一覧を表す名前のコレクションを返します。

protected:
 override System::Collections::ICollection ^ GetViewNames();
protected override System.Collections.ICollection GetViewNames();
override this.GetViewNames : unit -> System.Collections.ICollection
Protected Overrides Function GetViewNames () As ICollection

返品

"DefaultView" という名前を含む 1 つの要素を持つコレクション。

実装

注釈

LinqDataSource コントロールは、基になるデータに対して 1 つのビューのみをサポートし、DefaultViewという名前が付けられています。 したがって、 GetViewNames メソッドは、このビュー名を含む要素を 1 つだけ持つコレクションを返します。

適用対象

こちらもご覧ください