SetAttribute() public method

public SetAttribute ( string name, string value ) : void
name string
value string
return void
コード例 #1
0
 private static void SetAttributes(HtmlElement element, MatchCollection matches)
 {
     foreach (Match match in matches)
         element.SetAttribute(match.Groups["name"].Value, match.Groups["value"].Value);
 }