SetAttributeAsync

Parent Previous Next

SetAttributeAsync

Description: the method inserts the value of the specified attribute into the element 

Syntax: SetAttributeAsync(string name, string value);

Return value: no return value


Example:

await element.SetAttributeAsync("class", "my-class");

Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents