SetIdAttribute

Element.SetIdAttribute method

If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute.

public void SetIdAttribute(string name, bool isId)
Parameter Type Description
name String The attribute name.
isId Boolean if set to true [is id].

See Also