Document.GetElementsByClassName

Document.GetElementsByClassName method

引数で指定されたすべてのクラスを持つドキュメント内のすべての要素を含むライブ NodeList オブジェクトを返します。 http://www.w3.org/TR/dom/

public HTMLCollection GetElementsByClassName(string classNames)
パラメータタイプ説明
classNamesStringクラス (クラス名) を表す一意のスペースで区切られたトークンの順序付けられていないセットを含む文字列 string

戻り値

Element .

関連項目