共用方式為


Int32Value Class

Definition

Represents the Int32 value for attributes.

public class Int32Value : DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<int>
public class Int32Value : DocumentFormat.OpenXml.OpenXmlSimpleValue<int>
type Int32Value = class
    inherit OpenXmlComparableSimpleValue<int>
type Int32Value = class
    inherit OpenXmlSimpleValue<int>
Public Class Int32Value
Inherits OpenXmlComparableSimpleValue(Of Integer)
Public Class Int32Value
Inherits OpenXmlSimpleValue(Of Integer)
Inheritance
Inheritance

Constructors

Int32Value()

Initializes a new instance of the Int32Value class.

Int32Value(Int32)

Initializes a new instance of the Int32Value class using the supplied Int32 value.

Int32Value(Int32Value)

Initializes a new instance of the Int32Value by deep copying the supplied Int32Value 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>)
FromInt32(Int32)

Returns a new Int32Value object that was created from an Int32 value.

GetHashCode() (Inherited from OpenXmlComparableSimpleValue<T>)
GetHashCode() (Inherited from OpenXmlSimpleValue<T>)
ToInt32(Int32Value)

Returns the Int32 representation of an Int32Value object.

ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)

Operators

Implicit(Int32 to Int32Value)

Implicitly converts an Int32 value to a specified Int32Value instance.

Implicit(Int32Value to Int32)

Implicitly converts the specified value to an Int32 value.

Applies to