Share via


_CustomXMLPart.Load Method

Allows the template author to populate a _CustomXMLPart from an existing file. Returns True if the load was successful.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Function Load ( _
    FilePath As String _
) As Boolean
'Usage
Dim instance As _CustomXMLPart
Dim FilePath As String
Dim returnValue As Boolean

returnValue = instance.Load(FilePath)
bool Load(
    string FilePath
)

Parameters

  • FilePath
    Type: System.String

    Points to the file on the user’s computer or on a network containing the XML to be loaded.

Return Value

Type: System.Boolean
Boolean

See Also

Reference

_CustomXMLPart Interface

_CustomXMLPart Members

Microsoft.Office.Core Namespace