SiteMapDataSourceView SiteMapDataSourceView SiteMapDataSourceView SiteMapDataSourceView Class

Definizione

Fornisce un oggetto HierarchicalDataSourceView fortemente tipizzato per il controllo SiteMapDataSource.Provides a strongly typed HierarchicalDataSourceView object for the SiteMapDataSource control.

public ref class SiteMapDataSourceView : System::Web::UI::DataSourceView
public class SiteMapDataSourceView : System.Web.UI.DataSourceView
type SiteMapDataSourceView = class
    inherit DataSourceView
Public Class SiteMapDataSourceView
Inherits DataSourceView
Ereditarietà
SiteMapDataSourceViewSiteMapDataSourceViewSiteMapDataSourceViewSiteMapDataSourceView

Commenti

Il SiteMapDataSource controllo Abilita i controlli con associazione a dati ASP.NET, ad TreeView esempio Menu i controlli e, per l'associazione ai dati della mappa del sito.The SiteMapDataSource control enables ASP.NET data-bound controls, such as the TreeView and Menu controls, to bind to site map data. La SiteMapDataSourceView classe viene usata dagli sviluppatori di controlli, ma non viene usata dagli sviluppatori di pagine né nel codice della pagina.The SiteMapDataSourceView class is used by controls developers but it is not used by page developers nor in page code.

Restituisce un SiteMapDataSourceView oggetto per un percorso gerarchico specificato quando viene Select chiamato il metodo. SiteMapDataSourceThe SiteMapDataSource returns a SiteMapDataSourceView for a specified hierarchical path when the Select method is called. Analogamente a tutti gli oggetti della SiteMapDataSourceView vista origine dati gerarchici, non è denominato, ma è identificato dal relativo percorso gerarchico univoco.Like all hierarchical data source view objects, the SiteMapDataSourceView is not named; rather, its is identified by its unique hierarchical path.

È una classe wrapper in una SiteMapNodeCollection raccolta. SiteMapDataSourceViewThe SiteMapDataSourceView is a wrapper class on a SiteMapNodeCollection collection. La SiteMapNodeCollection classe implementa l' IHierarchicalEnumerable interfaccia, che la SiteMapDataSourceView classe restituisce da una chiamata al Select metodo.The SiteMapNodeCollection class implements the IHierarchicalEnumerable interface, which the SiteMapDataSourceView class returns from a call to Select method. SiteMapDataSource Poiché e SiteMapDataSourceView utilizzano SiteMapNodeCollection oggetti, la visualizzazione mantiene un interno per contenerli SiteMapNode .Because the SiteMapDataSource and SiteMapDataSourceView work with SiteMapNode objects, the view maintains an internal SiteMapNodeCollection to contain them. La raccolta viene inizializzata usando i costruttori della visualizzazione ed è possibile accedervi con il Select metodo.The collection is initialized using the view's constructors and accessed with the Select method.

Costruttori

SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode)

Inizializza una nuova istanza denominata della classe SiteMapDataSourceView, aggiungendo il singolo nodo specificato all'insieme interno di nodi.Initializes a new named instance of the SiteMapDataSourceView class, adding the single specified node to the internal collection of nodes.

SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection)

Inizializza una nuova istanza denominata della classe SiteMapDataSourceView, impostando l'insieme interno di nodi sull'insieme di nodi specificato.Initializes a new named instance of the SiteMapDataSourceView class, setting the internal collection of nodes to the specified node collection.

Metodi

CanExecute(String) CanExecute(String) CanExecute(String) CanExecute(String)

Determina se è possibile eseguire il comando specificato.Determines whether the specified command can be executed.

(Inherited from DataSourceView)
Delete(IDictionary, IDictionary, DataSourceViewOperationCallback) Delete(IDictionary, IDictionary, DataSourceViewOperationCallback) Delete(IDictionary, IDictionary, DataSourceViewOperationCallback) Delete(IDictionary, IDictionary, DataSourceViewOperationCallback)

Esegue un'operazione di eliminazione asincrona sull'elenco di dati rappresentato dall'oggetto DataSourceView.Performs an asynchronous delete operation on the list of data that the DataSourceView object represents.

(Inherited from DataSourceView)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina se l'oggetto specificato è uguale all'oggetto corrente.Determines whether the specified object is equal to the current object.

(Inherited from Object)
ExecuteCommand(String, IDictionary, IDictionary) ExecuteCommand(String, IDictionary, IDictionary) ExecuteCommand(String, IDictionary, IDictionary) ExecuteCommand(String, IDictionary, IDictionary)

Esegue il comando specificato.Executes the specified command.

(Inherited from DataSourceView)
ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback) ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback) ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback) ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback)

Esegue il comando specificato.Executes the specified command.

(Inherited from DataSourceView)
ExecuteDelete(IDictionary, IDictionary) ExecuteDelete(IDictionary, IDictionary) ExecuteDelete(IDictionary, IDictionary) ExecuteDelete(IDictionary, IDictionary)

Esegue un'operazione di eliminazione sull'elenco di dati rappresentato dall'oggetto DataSourceView.Performs a delete operation on the list of data that the DataSourceView object represents.

(Inherited from DataSourceView)
ExecuteInsert(IDictionary) ExecuteInsert(IDictionary) ExecuteInsert(IDictionary) ExecuteInsert(IDictionary)

Esegue un'operazione di inserimento sull'elenco di dati rappresentato dall'oggetto DataSourceView.Performs an insert operation on the list of data that the DataSourceView object represents.

(Inherited from DataSourceView)
ExecuteSelect(DataSourceSelectArguments) ExecuteSelect(DataSourceSelectArguments) ExecuteSelect(DataSourceSelectArguments) ExecuteSelect(DataSourceSelectArguments)

Ottiene l'insieme degli oggetti SiteMapNode che rappresenta la struttura di navigazione nel sito per l'utente corrente.Gets the collection of the SiteMapNode objects that represents the site navigation structure for the current user.

ExecuteUpdate(IDictionary, IDictionary, IDictionary) ExecuteUpdate(IDictionary, IDictionary, IDictionary) ExecuteUpdate(IDictionary, IDictionary, IDictionary) ExecuteUpdate(IDictionary, IDictionary, IDictionary)

Esegue un'operazione di aggiornamento sull'elenco di dati rappresentato dall'oggetto DataSourceView.Performs an update operation on the list of data that the DataSourceView object represents.

(Inherited from DataSourceView)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Funge da funzione hash predefinita.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Ottiene l'oggetto Type dell'istanza corrente.Gets the Type of the current instance.

(Inherited from Object)
Insert(IDictionary, DataSourceViewOperationCallback) Insert(IDictionary, DataSourceViewOperationCallback) Insert(IDictionary, DataSourceViewOperationCallback) Insert(IDictionary, DataSourceViewOperationCallback)

Esegue un'operazione di inserimento asincrona sull'elenco di dati rappresentato dall'oggetto DataSourceView.Performs an asynchronous insert operation on the list of data that the DataSourceView object represents.

(Inherited from DataSourceView)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficiale dell'oggetto Object corrente.Creates a shallow copy of the current Object.

(Inherited from Object)
OnDataSourceViewChanged(EventArgs) OnDataSourceViewChanged(EventArgs) OnDataSourceViewChanged(EventArgs) OnDataSourceViewChanged(EventArgs)

Genera l'evento DataSourceViewChanged.Raises the DataSourceViewChanged event.

RaiseUnsupportedCapabilityError(DataSourceCapabilities) RaiseUnsupportedCapabilityError(DataSourceCapabilities) RaiseUnsupportedCapabilityError(DataSourceCapabilities) RaiseUnsupportedCapabilityError(DataSourceCapabilities)

Viene chiamato dal metodo RaiseUnsupportedCapabilitiesError(DataSourceView) per confrontare le funzionalità richieste per un'operazione ExecuteSelect(DataSourceSelectArguments) con quelle supportate dalla visualizzazione.Called by the RaiseUnsupportedCapabilitiesError(DataSourceView) method to compare the capabilities requested for an ExecuteSelect(DataSourceSelectArguments) operation against those that the view supports.

(Inherited from DataSourceView)
Select(DataSourceSelectArguments) Select(DataSourceSelectArguments) Select(DataSourceSelectArguments) Select(DataSourceSelectArguments)

Ottiene l'insieme degli oggetti SiteMapNode che rappresenta la struttura di navigazione nel sito per l'utente corrente.Gets the collection of the SiteMapNode objects that represents the site navigation structure for the current user.

Select(DataSourceSelectArguments, DataSourceViewSelectCallback) Select(DataSourceSelectArguments, DataSourceViewSelectCallback) Select(DataSourceSelectArguments, DataSourceViewSelectCallback) Select(DataSourceSelectArguments, DataSourceViewSelectCallback)

Ottiene un elenco di dati dall'archivio dati sottostante in modo asincrono.Gets a list of data asynchronously from the underlying data storage.

(Inherited from DataSourceView)
ToString() ToString() ToString() ToString()

Restituisce una stringa che rappresenta l'oggetto corrente.Returns a string that represents the current object.

(Inherited from Object)
Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback)

Esegue un'operazione di aggiornamento asincrona sull'elenco di dati rappresentato dall'oggetto DataSourceView.Performs an asynchronous update operation on the list of data that the DataSourceView object represents.

(Inherited from DataSourceView)

Proprietà

CanDelete CanDelete CanDelete CanDelete

Ottiene un valore che indica se l'oggetto DataSourceView associato all'oggetto DataSourceControl corrente supporta l'operazione ExecuteDelete(IDictionary, IDictionary).Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports the ExecuteDelete(IDictionary, IDictionary) operation.

(Inherited from DataSourceView)
CanInsert CanInsert CanInsert CanInsert

Ottiene un valore che indica se l'oggetto DataSourceView associato all'oggetto DataSourceControl corrente supporta l'operazione ExecuteInsert(IDictionary).Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports the ExecuteInsert(IDictionary) operation.

(Inherited from DataSourceView)
CanPage CanPage CanPage CanPage

Ottiene un valore che indica se l'oggetto DataSourceView associato all'oggetto DataSourceControl corrente supporta lo spostamento dei dati recuperati tramite il metodo ExecuteSelect(DataSourceSelectArguments).Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports paging through the data retrieved by the ExecuteSelect(DataSourceSelectArguments) method.

(Inherited from DataSourceView)
CanRetrieveTotalRowCount CanRetrieveTotalRowCount CanRetrieveTotalRowCount CanRetrieveTotalRowCount

Ottiene un valore che indica se l'oggetto DataSourceView associato all'oggetto DataSourceControl corrente supporta il recupero del numero totale di righe di dati anziché dei dati.Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports retrieving the total number of data rows, instead of the data.

(Inherited from DataSourceView)
CanSort CanSort CanSort CanSort

Ottiene un valore che indica se l'oggetto DataSourceView associato all'oggetto DataSourceControl corrente supporta una visualizzazione ordinata dell'origine dati sottostante.Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports a sorted view on the underlying data source.

(Inherited from DataSourceView)
CanUpdate CanUpdate CanUpdate CanUpdate

Ottiene un valore che indica se l'oggetto DataSourceView associato all'oggetto DataSourceControl corrente supporta l'operazione ExecuteUpdate(IDictionary, IDictionary, IDictionary).Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports the ExecuteUpdate(IDictionary, IDictionary, IDictionary) operation.

(Inherited from DataSourceView)
Events Events Events Events

Ottiene un elenco di delegati del gestore eventi per la visualizzazione origine dati.Gets a list of event-handler delegates for the data source view.

(Inherited from DataSourceView)
Name Name Name Name

Ottiene il nome della visualizzazione origine dati.Gets the name of the data source view.

(Inherited from DataSourceView)

Eventi

DataSourceViewChanged DataSourceViewChanged DataSourceViewChanged DataSourceViewChanged

Si verifica quando la visualizzazione origine dati ha subito una modifica.Occurs when the data source view has changed.

(Inherited from DataSourceView)

Si applica a

Vedi anche