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
- xmlAttribute
Type: DocumentFormat.OpenXml.Int32Value
The Int32Value to be converted.
Return Value
Type: System.Int32
The internal Int32 value.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when "xmlAttribute" is null. |