Element.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)
ParameterTypeDescription
nameStringThe attribute name.
isIdBooleanif set to true [is id].

See Also