Microsoft XML 2.5 SDK


 

IXMLDOMNode::get_nodeTypedValue Method

[This is preliminary documentation and subject to change.]

Contains this node's value expressed in its defined data type.

Visual Basic Syntax

strValue = oXMLDOMNode.nodeTypedValue

C/C++ Syntax

HRESULT get_nodeTypedValue(

    VARIANT *typedValue);

Parameters

typedValue

[out]
Value of this node in its defined data type, if such a data type is defined. If this node has no content, the value of typedValue will be NULL.

C/C++ Return Values

S_OK

Value returned if successful.

E_INVALIDARG

Value returned if typedValue is null.

Data Type Mapping

VARIANT Returned Corresponding Element Data Type
VT_BSTR string
VT_BSTR number
VT_I4 int
VT_CY fixed.14.4
VT_BOOL boolean
VT_DATE dateTime
VT_DATE dateTime.tz
VT_DATE date
VT_DATE time
VT_DATE time.tz
VT_I1 i1 byte
VT_I2 i2 
VT_I4 i4, int
VT_UI1 ui1
VT_UI2 ui2
VT_UI4 ui4
VT_FLOAT r4
VT_DOUBLE r8, float
VT_BSTR uuid
VT_ARRAY bin.hex
VT_ARRAY bin.base64