Uiinfrastructure API Docs  
 

HTMLElement.SetID Method 

Call this method to set the ID attribute for this HTML element.

ID attributes may not contain spaces or dollar signs or anything weird. ID attributes must be unique to each element on a given HTML page. This is currently not enforced by this method.

public virtual void SetID(
   string s
);

Parameters

s
Pass the ID you wish to use for this element.

See Also

HTMLElement Class | com.plumtree.xpshared.htmlelements Namespace