Bagikan melalui


PagesSection.SmartNavigation Properti

Definisi

Mendapatkan atau menetapkan nilai yang menunjukkan apakah navigasi pintar diaktifkan.

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

Nilai Properti

true jika navigasi pintar diaktifkan; jika tidak, false. Nilai defaultnya adalah false.

Atribut

Contoh

Contoh kode berikut menunjukkan cara menggunakan SmartNavigation properti .

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

Keterangan

Nota

Navigasi cerdas memerlukan Microsoft Internet Explorer 5.5 atau yang lebih tinggi.

Berlaku untuk