Freigeben über


PagesSection.SmartNavigation Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob die intelligente Navigation aktiviert ist.

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

Eigenschaftswert

truewenn intelligente Navigation aktiviert ist; andernfalls . false Der Standardwert ist false.

Attribute

Beispiele

Das folgende Codebeispiel zeigt, wie die SmartNavigation Eigenschaft verwendet wird.

// 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

Hinweise

Hinweis

Intelligente Navigation erfordert Microsoft Internet Explorer 5.5 oder höher.

Gilt für: