Struct RdlName
The namespace-qualified name of an element or attribute in a report definition.
public readonly struct RdlName : IEquatable<RdlName>
- Implements
- Inherited Members
Remarks
A prefix is not part of identity. Two definitions that bind the designer namespace to
rd and to d say the same thing, and a model that compared prefixes would
report a difference where none exists. The prefix a definition used is remembered separately,
on the element that declared it, so a round trip can write it back unchanged.
Comparison is ordinal throughout: XML names are case-sensitive, and a culture-aware
comparison would make Image and image equal under some cultures and not
others.
Constructors
- RdlName(string?, string)
Initializes a name.
Properties
- IsEmpty
Gets a value indicating whether this name was default-constructed.
- LocalName
Gets the local name.
- NamespaceName
Gets the namespace URI, or an empty string when the name has none.
Methods
- Is(string)
Determines whether this name has the given local name, ignoring the namespace.
- ToString()
Returns the name in
{namespace}localform, or just the local name.
Operators
- operator ==(RdlName, RdlName)
Determines whether two names are equal.
- operator !=(RdlName, RdlName)
Determines whether two names differ.