SiteMapDataSource.GetViewNames Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a collection of named views for the data source control.
public:
virtual System::Collections::ICollection ^ GetViewNames();
public virtual System.Collections.ICollection GetViewNames ();
abstract member GetViewNames : unit -> System.Collections.ICollection
override this.GetViewNames : unit -> System.Collections.ICollection
Public Overridable Function GetViewNames () As ICollection
Returns
An ICollection of named SiteMapDataSourceView objects associated with the SiteMapDataSource. Because the SiteMapDataSource supports only one named view, the GetViewNames() method returns an ICollection with one Empty element.
Remarks
The GetViewNames method returns a collection with one element (the default name) instead of null
so that the ContainsListCollection method returns true
.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor