Table of Contents

Class OdfQualifiedName

Namespace
OdfKit.Compliance
Assembly
OdfKit.dll

Provides the OdfQualifiedName API. 識別命名空間限定的 ODF 名稱,而不依賴 XML 前綴。

public sealed class OdfQualifiedName : IEquatable<OdfQualifiedName>
Inheritance
OdfQualifiedName
Implements
Inherited Members

Constructors

OdfQualifiedName(string, string)

Performs odf qualified name. 初始化限定名稱的新執行個體。

public OdfQualifiedName(string namespaceUri, string localName)

Parameters

namespaceUri string

命名空間 URI

localName string

區域元素或屬性名稱

Properties

LocalName

Gets the LocalName value. 取得區域元素或屬性名稱。

public string LocalName { get; }

Property Value

string

NamespaceUri

Gets the NamespaceUri value. 取得命名空間 URI。

public string NamespaceUri { get; }

Property Value

string

Methods

Equals(OdfQualifiedName?)

Performs equals. 執行 Equals。

public bool Equals(OdfQualifiedName? other)

Parameters

other OdfQualifiedName

Returns

bool

Equals(object?)

Performs equals. 執行 Equals。

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

Gets hash code. 取得 Hash Code。

public override int GetHashCode()

Returns

int

ToString()

Converts to string. 轉換為 String。

public override string ToString()

Returns

string