語言

DataKeyPropertyAttribute(String) 建構函式

定義

透過使用 data-key 屬性的名稱初始化該類別的新 DataKeyPropertyAttribute 實例。

public:
 DataKeyPropertyAttribute(System::String ^ name);
public DataKeyPropertyAttribute(string name);
new System.Web.UI.DataKeyPropertyAttribute : string -> System.Web.UI.DataKeyPropertyAttribute
Public Sub New (name As String)

參數

name
String

data-key 屬性的名稱。

適用於