Element.HasAttributeNS

Element.HasAttributeNS method

Returns true when an attribute with a given local name and package URI is specified on this element or has a default value, false otherwise.

public bool HasAttributeNS(String packageURI, String localName)
ParameterTypeDescription
packageURIStringThe package URI.
localNameStringName of the local.

Return Value

true if [has attribute NS] [the specified package URI]; otherwise, false.

See Also