Class OdfElementDefinition
- Namespace
- OdfKit.Compliance
- Assembly
- OdfKit.dll
Provides the OdfElementDefinition API. 描述 ODF 結構描述中已知的一個元素定義。
public sealed class OdfElementDefinition
- Inheritance
-
OdfElementDefinition
- Inherited Members
Constructors
OdfElementDefinition(OdfQualifiedName, OdfSchemaElementRole, OdfVersionRange, OdfDocumentKind)
Provides the OdfElementDefinition API. 描述 ODF 結構描述中已知的一個元素定義。
public OdfElementDefinition(OdfQualifiedName name, OdfSchemaElementRole role, OdfVersionRange supportedVersions, OdfDocumentKind documentKind = OdfDocumentKind.Unknown)
Parameters
nameOdfQualifiedName限定名稱
roleOdfSchemaElementRole元素角色
supportedVersionsOdfVersionRange支援的 ODF 版本範圍
documentKindOdfDocumentKind文件種類
Properties
DocumentKind
Gets the DocumentKind value. 取得此元素所代表的文件種類(適用時)。
public OdfDocumentKind DocumentKind { get; }
Property Value
Name
Gets the Name value. 取得命名空間限定的元素名稱。
public OdfQualifiedName Name { get; }
Property Value
Role
Gets the Role value. 取得此元素的結構描述角色。
public OdfSchemaElementRole Role { get; }
Property Value
SupportedVersions
Gets the SupportedVersions value. 取得支援此元素的 ODF 版本範圍。
public OdfVersionRange SupportedVersions { get; }