Year Class
Year.When the object is serialized out as xml, its qualified name is b:Year.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.OpenXmlLeafTextElement
DocumentFormat.OpenXml.Bibliography.Year
Namespace: DocumentFormat.OpenXml.Bibliography
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
Public Class Year _
Inherits OpenXmlLeafTextElement
用法
Dim instance As Year
public class Year : OpenXmlLeafTextElement
Remarks
[ISO/IEC 29500-1 第 1 个版本]
22.6.2.75 Year (Year)
This element specifies the year in which a source was created or published.
[Example:
…
<b:Title>Title</b:Title>
<b:InternetSiteTitle>Internet Site Title</b:InternetSiteTitle>
<b:Month>July</b:Month>
<b:Day>1</b:Day>
<b:Year>2001</b:Year>
<b:MonthAccessed>Sept.</b:MonthAccessed>
<b:DayAccessed>22</b:DayAccessed>
<b:YearAccessed>1999</b:YearAccessed>
…
end example]
The possible values for this element are defined by the ST_String simple type (§22.9.2.13).
Parent Elements |
---|
Source (§22.6.2.59) |
[Note: The W3C XML Schema definition of this element's content model (ST_String) is located in §A.6.9. end note]
© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.