Bagikan melalui


HttpHandlerAction.Path Properti

Definisi

Mendapatkan atau mengatur HttpHandlerAction jalur.

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("path", IsKey=true, IsRequired=true)]
public string Path { get; set; }
[<System.Configuration.ConfigurationProperty("path", IsKey=true, IsRequired=true)>]
member this.Path : string with get, set
Public Property Path As String

Nilai Properti

Jalur HttpHandlerAction URL.

Atribut

Contoh

Contoh kode berikut menunjukkan cara mengakses Path properti.

// Change the Path for the HttpHandlerAction.
httpHandler.Path = "Calculator.custom";
' Change the Path for the HttpHandlerAction.
httpHandler.Path = "Calculator.custom"

Keterangan

Properti Path dapat berisi satu URL atau string kartubebas.

Berlaku untuk