LinqDataSource.GetViewNames Method

Definition

Returns a collection of names that represents the list of view objects that are associated with the LinqDataSource control.

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

Returns

A collection with one element that contains the name "DefaultView".

Implements

Remarks

The LinqDataSource control supports only one view on its underlying data, which is named DefaultView. The GetViewNames method therefore returns a collection with only one element, which contains this view name.

Applies to

See also