共用方式為


UInt16Value Class

Definition

Important

This API is not CLS-compliant.

Represents the UInt16 value for attributes.

[System.CLSCompliant(false)]
public class UInt16Value : DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<ushort>
[System.CLSCompliant(false)]
public class UInt16Value : DocumentFormat.OpenXml.OpenXmlSimpleValue<ushort>
[<System.CLSCompliant(false)>]
type UInt16Value = class
    inherit OpenXmlComparableSimpleValue<uint16>
[<System.CLSCompliant(false)>]
type UInt16Value = class
    inherit OpenXmlSimpleValue<uint16>
Public Class UInt16Value
Inherits OpenXmlComparableSimpleValue(Of UShort)
Public Class UInt16Value
Inherits OpenXmlSimpleValue(Of UShort)
Inheritance
Inheritance
Attributes

Constructors

UInt16Value()

Initializes a new instance of the UInt16Value class.

UInt16Value(UInt16)

Initializes a new instance of the UInt16Value class using the supplied UInt16 value.

UInt16Value(UInt16Value)

Initializes a new instance of the UInt16Value class by deep copying the supplied UInt16Value 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>)
FromUInt16(UInt16)

Returns a new UInt16Value object created from a UInt16 value.

GetHashCode() (Inherited from OpenXmlComparableSimpleValue<T>)
GetHashCode() (Inherited from OpenXmlSimpleValue<T>)
ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)
ToUInt16(UInt16Value)

Returns the UInt16 representation of a UInt16Value object.

Operators

Implicit(UInt16 to UInt16Value)

Implicitly converts a UInt16 value to a UInt16Value class.

Implicit(UInt16Value to UInt16)

Implicitly converts the specified UInt16Value object to a UInt16 value.

Applies to