共用方式為


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 URL 路徑。

屬性

範例

下列程式碼範例示範如何存取 Path 屬性。

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

備註

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

適用於