Table of Contents

Struct RdlAttribute

Namespace
DocWright.Reporting
Assembly
DocWright.Reporting.dll

One attribute of a report-definition element.

public readonly struct RdlAttribute : IEquatable<RdlAttribute>
Implements
Inherited Members

Remarks

Namespace declarations (xmlns and xmlns:*) are kept as attributes like any other, rather than being resolved away. A definition that declares five namespaces and uses two is saying something about how it was authored, and a save that dropped the other three would be a change the author did not ask for.

Constructors

RdlAttribute(RdlName, string)

Initializes an attribute.

RdlAttribute(RdlName, string, string?)

Initializes an attribute, remembering the prefix the source used.

Fields

XmlnsNamespace

The namespace URI that marks an attribute as a namespace declaration.

Properties

IsNamespaceDeclaration

Gets a value indicating whether this attribute is a namespace declaration.

Name

Gets the qualified name.

Prefix

Gets the prefix the source bound, or null.

Value

Gets the value.

Methods

Equals(RdlAttribute)
Equals(object?)
GetHashCode()
ToString()

Returns the attribute in name="value" form.

Operators

operator ==(RdlAttribute, RdlAttribute)

Determines whether two attributes are equal.

operator !=(RdlAttribute, RdlAttribute)

Determines whether two attributes differ.