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
nameOdfQualifiedName限定名稱
valueTypestring值類型
supportedVersionsOdfVersionRange支援的 ODF 版本範圍
isRequiredOnDocumentRootbool是否在文件根元素上為必要
Properties
IsRequiredOnDocumentRoot
Gets a value indicating the IsRequiredOnDocumentRoot state. 取得一個值,表示此屬性在 ODF 文件根元素上是否為必要。
public bool IsRequiredOnDocumentRoot { get; }
Property Value
Name
Gets the Name value. 取得命名空間限定的屬性名稱。
public OdfQualifiedName Name { get; }
Property Value
SupportedVersions
Gets the SupportedVersions value. 取得支援此屬性的 ODF 版本範圍。
public OdfVersionRange SupportedVersions { get; }
Property Value
ValueType
Gets the ValueType value. 取得結構描述值類型名稱。
public string ValueType { get; }