Table of Contents

Class OdfAttributeDefinition

Namespace
OdfKit.Compliance
Assembly
OdfKit.dll

Provides the OdfAttributeDefinition API. 描述 ODF 結構描述中已知的一個屬性定義。

public sealed class OdfAttributeDefinition
Inheritance
OdfAttributeDefinition
Inherited Members

Constructors

OdfAttributeDefinition(OdfQualifiedName, string, OdfVersionRange, bool)

Provides the OdfAttributeDefinition API. 描述 ODF 結構描述中已知的一個屬性定義。

public OdfAttributeDefinition(OdfQualifiedName name, string valueType, OdfVersionRange supportedVersions, bool isRequiredOnDocumentRoot = false)

Parameters

name OdfQualifiedName

限定名稱

valueType string

值類型

supportedVersions OdfVersionRange

支援的 ODF 版本範圍

isRequiredOnDocumentRoot bool

是否在文件根元素上為必要

Properties

IsRequiredOnDocumentRoot

Gets a value indicating the IsRequiredOnDocumentRoot state. 取得一個值,表示此屬性在 ODF 文件根元素上是否為必要。

public bool IsRequiredOnDocumentRoot { get; }

Property Value

bool

Name

Gets the Name value. 取得命名空間限定的屬性名稱。

public OdfQualifiedName Name { get; }

Property Value

OdfQualifiedName

SupportedVersions

Gets the SupportedVersions value. 取得支援此屬性的 ODF 版本範圍。

public OdfVersionRange SupportedVersions { get; }

Property Value

OdfVersionRange

ValueType

Gets the ValueType value. 取得結構描述值類型名稱。

public string ValueType { get; }

Property Value

string