ImageMapEventArgs(String) 构造函数

定义

初始化 ImageMapEventArgs 类的新实例。Initializes a new instance of the ImageMapEventArgs class.

public:
 ImageMapEventArgs(System::String ^ value);
public ImageMapEventArgs (string value);
new System.Web.UI.WebControls.ImageMapEventArgs : string -> System.Web.UI.WebControls.ImageMapEventArgs
Public Sub New (value As String)

参数

value
String

String 对象,该对象分配给单击的 PostBackValue 对象的 HotSpot 属性。The String object assigned to the PostBackValue property of the HotSpot object that was clicked.

注解

使用此构造函数初始化类的新实例 ImageMapEventArgsUse this constructor to initialize a new instance of the ImageMapEventArgs class.

下表显示了 ImageMapEventArgs 类的某个实例的初始属性值。The following table shows initial property values for an instance of the ImageMapEventArgs class.

PropertyProperty 初始值Initial Value
PostBackValue 分配给参数的字符串 valueThe string assigned to the value parameter.

适用于

另请参阅