Share via


IXTLRuntime.formatDate Method

This type or member acts as a proxy for a Microsoft XML Core Services (MSXML) object or member. For information about the MSXML object or member that is wrapped by this type or member, see the MSXML SDK. For more information about using MSXML objects or members from managed code, see Working with MSXML5 and System.Xml Using the InfoPath 2003 Object Model.

Namespace:  Microsoft.Office.Interop.InfoPath.Xml
Assembly:  Microsoft.Office.Interop.InfoPath.Xml (in Microsoft.Office.Interop.InfoPath.Xml.dll)

Syntax

'Declaration
Function formatDate ( _
    varDate As Object, _
    bstrFormat As String, _
    varDestLocale As Object _
) As String
'Usage
Dim instance As IXTLRuntime
Dim varDate As Object
Dim bstrFormat As String
Dim varDestLocale As Object
Dim returnValue As String

returnValue = instance.formatDate(varDate, _
    bstrFormat, varDestLocale)
string formatDate(
    Object varDate,
    string bstrFormat,
    Object varDestLocale
)

Parameters

Return Value

Type: System.String

See Also

Reference

IXTLRuntime Interface

IXTLRuntime Members

Microsoft.Office.Interop.InfoPath.Xml Namespace