DataKeyPropertyAttribute(String) 建構函式

定義

使用資料金鑰屬性 (Property) 屬性 (Attribute) 的名稱,初始化 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

資料金鑰屬性 (Property) 屬性 (Attribute) 的名稱。

適用於