HtmlElement.Name 屬性

定義

取得或設定項目的名稱。

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

屬性值

String

String,代表項目的名稱。

備註

Name使用 屬性,在 GetElementsByName 的 屬性 HtmlDocument 上使用 All 方法,從檔中擷取專案。

當套用至 INPUT 元素時, Name 在表單提交至伺服器時,定義該專案資料的變數名稱。

適用於

另請參閱