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 或通配符字符串。

适用于