Partager via


Int32Value Implicit Conversion (Int32Value to Int32)

Implicit converter to Int32.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    xmlAttribute As Int32Value _
) As Integer
'Usage
Dim input As Int32Value
Dim output As Integer

output = CType(input, Integer)
public static implicit operator int (
    Int32Value xmlAttribute
)

Parameters

Return Value

Type: System.Int32
The internal Int32 value.

Exceptions

Exception Condition
InvalidOperationException

Thrown when "xmlAttribute" is null.

See Also

Reference

Int32Value Class

Int32Value Members

Implicit Overload

DocumentFormat.OpenXml Namespace