次の方法で共有


IXTLRuntime.formatDate メソッド

この型またはメンバは、Microsoft XML Core Services (MSXML) 5.0 オブジェクトまたはメンバのプロキシとして動作します。この型またはメンバによってラップされる MSXML オブジェクトまたはメンバについては、MSDN で Microsoft XML Core Services (MSXML) SDK を検索してください。MSDN オブジェクトまたはメンバのマネージ コードからの使用については、次を参照してください InfoPath 2003 オブジェクト モデルを使用して MSXML5 と System.Xml を操作する

このメソッドは、CLS に準拠していません。  

名前空間: Microsoft.Office.Interop.InfoPath.SemiTrust
アセンブリ: Microsoft.Office.Interop.InfoPath.SemiTrust (microsoft.office.interop.infopath.semitrust.dll 内)

構文

'宣言
<DispIdAttribute(194)> _
Function formatDate ( _
    varDate As Object, _
    bstrFormat As String, _
    varDestLocale As Object _
) As String
'使用
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)
[DispIdAttribute(194)] 
string formatDate (
    Object varDate,
    string bstrFormat,
    Object varDestLocale
)

パラメータ

  • varDate
  • bstrFormat
  • varDestLocale

関連項目

参照

IXTLRuntime インターフェイス
IXTLRuntime のメンバ
Microsoft.Office.Interop.InfoPath.SemiTrust 名前空間