语言

Int16Value 类

定义

表示 Int16 特性的值。

public class Int16Value : DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<short>
public class Int16Value : DocumentFormat.OpenXml.OpenXmlSimpleValue<short>
type Int16Value = class
    inherit OpenXmlComparableSimpleValue<int16>
type Int16Value = class
    inherit OpenXmlSimpleValue<int16>
Public Class Int16Value
Inherits OpenXmlComparableSimpleValue(Of Short)
Public Class Int16Value
Inherits OpenXmlSimpleValue(Of Short)
继承
继承

构造函数

名称 说明
Int16Value()

初始化 类的新实例 Int16Value 。

Int16Value(Int16)

使用提供Int16的值初始化 类的新实例Int16Value。

Int16Value(Int16Value)

通过深层复制提供的 IntValue 类来初始化 的新实例 Int16Value 。

属性

名称 说明
HasValue

获取一个值,该值指示文本值下方的 是否为有效值。

(继承自 OpenXmlSimpleValue<T>)
InnerText

表示 Int16 特性的值。

InnerText

获取或设置内部 XML 文本。

(继承自 OpenXmlSimpleValue<T>)
TextValue
已过时.

获取或设置内部原始文本值。 请勿使用此属性。 仅供OpenXmlSimpleType.cs内部使用。

(继承自 OpenXmlSimpleType)
Value

获取或设置简单值的值。

(继承自 OpenXmlSimpleValue<T>)

方法

名称 说明
Clone()

创建当前值的副本。

(继承自 OpenXmlSimpleType)
CompareTo(Object)

表示 Int16 特性的值。

(继承自 OpenXmlComparableSimpleValue<T>)
CompareTo(OpenXmlComparableSimpleValue<T>)

表示 Int16 特性的值。

(继承自 OpenXmlComparableSimpleValue<T>)
CompareTo(T)

表示 Int16 特性的值。

(继承自 OpenXmlComparableSimpleValue<T>)
Equals(Object)

表示 Int16 特性的值。

(继承自 OpenXmlComparableSimpleValue<T>)
Equals(OpenXmlComparableSimpleValue<T>)

表示 Int16 特性的值。

(继承自 OpenXmlComparableSimpleValue<T>)
Equals(T)

表示 Int16 特性的值。

(继承自 OpenXmlComparableSimpleValue<T>)
FromInt16(Int16)

返回从Int16值创建的新 Int16Value 对象。

GetHashCode()

表示 Int16 特性的值。

(继承自 OpenXmlComparableSimpleValue<T>)
ToInt16(Int16Value)

返回 Int16 对象的表示形式 Int16Value 。

ToString()

返回一个 String 类型的值,该值代表当前值。

(继承自 OpenXmlSimpleType)

运算符

名称 说明
Implicit(Int16 to Int16Value)

将值隐式转换为Int16Int16Value实例。

Implicit(Int16Value to Int16)

将指定的值隐式转换为值 Int16 。

适用于