Share via


Int16Value Class

Definition

Represents the Int16 value for attributes.

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)
Inheritance
Inheritance

Constructors

Int16Value()

Initializes a new instance of the Int16Value class.

Int16Value(Int16)

Initializes a new instance of the Int16Value class using the supplied Int16 value.

Int16Value(Int16Value)

Initializes a new instance of the Int16Value by deep copying the supplied IntValue class.

Properties

HasValue

Gets a value that indicates whether the underneath text value is a valid value.

(Inherited from OpenXmlSimpleValue<T>)
InnerText
InnerText

Gets or sets the inner XML text.

(Inherited from OpenXmlSimpleValue<T>)
TextValue
Obsolete.

Gets or sets the internal raw text value. DO NOT use this property. Only for OpenXmlSimpleType.cs internal use.

(Inherited from OpenXmlSimpleType)
Value

Gets or sets the value of the simple value.

(Inherited from OpenXmlSimpleValue<T>)

Methods

Clone()

Creates a duplicate of the current value.

(Inherited from OpenXmlSimpleType)
CompareTo(Object) (Inherited from OpenXmlComparableSimpleValue<T>)
CompareTo(OpenXmlComparableSimpleValue<T>) (Inherited from OpenXmlComparableSimpleValue<T>)
CompareTo(T) (Inherited from OpenXmlComparableSimpleValue<T>)
Equals(Object) (Inherited from OpenXmlComparableSimpleValue<T>)
Equals(Object) (Inherited from OpenXmlSimpleValue<T>)
Equals(OpenXmlComparableSimpleValue<T>) (Inherited from OpenXmlComparableSimpleValue<T>)
Equals(T) (Inherited from OpenXmlComparableSimpleValue<T>)
FromInt16(Int16)

Returns a new Int16Value object that was created from an Int16 value.

GetHashCode() (Inherited from OpenXmlComparableSimpleValue<T>)
GetHashCode() (Inherited from OpenXmlSimpleValue<T>)
ToInt16(Int16Value)

Returns an Int16 representation of an Int16Value object.

ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)

Operators

Implicit(Int16 to Int16Value)

Implicitly converts an Int16 value to a Int16Value instance.

Implicit(Int16Value to Int16)

Implicitly converts the specified value to an Int16 value.

Applies to