<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
IEdmBatchGet Interface
See Also Members Example

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace : IEdmBatchGet Interface

Visual Basic
C#
C++/CLI

Allows you to get several files from the vault all at once.

NOTE: Click the Members link, located near the top of the topic, to see this interface's methods and properties.

# Syntax

Visual Basic |
--- | ---

    Public Interface IEdmBatchGet

C# |
--- | ---

    public interface IEdmBatchGet

C++/CLI |
--- | ---

    public interface class IEdmBatchGet

# Example

Batch Check Out Files (VB.NET)
Batch Check Out Files (C#)

# Remarks

This interface inherits from IDispatch. See IDispatch Interface (Automation).

To get several files at once:

1. Access this interface by calling IEdmVault7::CreateUtility, passing EdmUtility.EdmUtil_BatchGet as a parameter.
2. Call IEdmBatchGet::AddSelection or IEdmBatchGet::AddSelectionEx at least once.
3. Call IEdmBatchGet::CreateTree to compute the file reference tree and specify get and check-out options.
4. Optionally call IEdmBatchGet::ShowDlg to display the Get or Check Out dialog box.
5. Call IEdmBatchGet::GetFiles to get the files.

Using this interface is more efficient than calling IEdmFile5::GetFileCopy and IEdmFile5::LockFile for each file that you want to check out.

# Accessors

IEdmVault7::CreateUtility

# See Also

####

IEdmBatchGet Members
EPDM.Interop.epdm Namespace