Udostępnij za pośrednictwem


PagesSection.SmartNavigation Właściwość

Definicja

Pobiera lub ustawia wartość wskazującą, czy nawigacja inteligentna jest włączona.

public:
 property bool SmartNavigation { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("smartNavigation", DefaultValue=false)]
public bool SmartNavigation { get; set; }
[<System.Configuration.ConfigurationProperty("smartNavigation", DefaultValue=false)>]
member this.SmartNavigation : bool with get, set
Public Property SmartNavigation As Boolean

Wartość właściwości

Boolean

true jeśli włączono nawigację inteligentną; w przeciwnym razie , false. Wartość domyślna to false.

Atrybuty

Przykłady

W poniższym przykładzie kodu pokazano, jak używać SmartNavigation właściwości .

// Get the current SmartNavigation property value.
Console.WriteLine(
    "Current SmartNavigation value: '{0}'",
    pagesSection.SmartNavigation);

// Set the SmartNavigation property to true.
pagesSection.SmartNavigation = true;
' Get the current SmartNavigation property value.
Console.WriteLine( _
    "Current SmartNavigation value: '{0}'", pagesSection.SmartNavigation)

' Set the SmartNavigation property to true.
pagesSection.SmartNavigation = True

Uwagi

Uwaga

Nawigacja inteligentna wymaga programu Microsoft Internet Explorer 5.5 lub nowszego.

Dotyczy