OpenXmlSimpleValue<T>.Implicit(OpenXmlSimpleValue<T> to T) Operator

Definition

Implicitly converts the specified value to T.

public static implicit operator T (DocumentFormat.OpenXml.OpenXmlSimpleValue<T> xmlAttribute);
static member op_Implicit : DocumentFormat.OpenXml.OpenXmlSimpleValue<'T (requires 'T : struct)> -> 'T
Public Shared Widening Operator CType (xmlAttribute As OpenXmlSimpleValue(Of T)) As T

Parameters

xmlAttribute
OpenXmlSimpleValue<T>

The OpenXmlSimpleValue instance.

Returns

T

The internal value in the OpenXmlSimpleValue class.

Exceptions

Thrown when xmlAttribute is null.

Applies to