Поделиться через


PagesSection.SmartNavigation Свойство

Определение

Возвращает или задает значение, указывающее, включена ли интеллектуальная навигация.

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

Значение свойства

true Значение , если включена интеллектуальная навигация; falseв противном случае . Значение по умолчанию — false.

Атрибуты

Примеры

В следующем примере кода показано, как использовать SmartNavigation свойство.

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

Комментарии

Замечание

Для интеллектуальной навигации требуется Microsoft Internet Explorer 5.5 или более поздней версии.

Применяется к