Int16Value Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the Int16 value for attributes.
public class Int16Value : DocumentFormat.OpenXml.OpenXmlSimpleValue<short>
type Int16Value = class
inherit OpenXmlSimpleValue<int16>
Public Class Int16Value
Inherits OpenXmlSimpleValue(Of Short)
- 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 |
Gets or sets the inner XML text. |
TextValue |
DON'T use this property. Only for OpenXmlSimpleType.cs internal use. The internal raw text value. (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) |
FromInt16(Int16) |
Returns a new Int16Value object that was created from an Int16 value. |
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. |