共用方式為


HttpHandlerAction.Path 屬性

定義

要麼拿到路,要麼設定 HttpHandlerAction 方向。

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

屬性值

網址 HttpHandlerAction 路徑。

屬性

範例

以下程式碼範例說明如何存取該 Path 物業。

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

備註

Path 屬性可以包含單一 URL 或萬用字串。

適用於