DynamicHyperLink.IAttributeAccessor.SetAttribute(String, String) 方法

定义

定义要应用于 DynamicHyperLink 控件的属性及其值。

 virtual void System.Web.UI.IAttributeAccessor.SetAttribute(System::String ^ key, System::String ^ value) = System::Web::UI::IAttributeAccessor::SetAttribute;
void IAttributeAccessor.SetAttribute(string key, string value);
override this.System.Web.UI.IAttributeAccessor.SetAttribute : string * string -> unit
Sub SetAttribute (key As String, value As String) Implements IAttributeAccessor.SetAttribute

参数

key
String

属性的名称。

value
String

分配给特性的值。

实现

适用于

另请参阅