<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
IEdmSearchResult5 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 : IEdmSearchResult5 Interface

Visual Basic
C#
C++/CLI

Allows you to access a search result.

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 IEdmSearchResult5
       Inherits IEdmObject5

C# |
--- | ---

    public interface IEdmSearchResult5 : IEdmObject5

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

    public interface class IEdmSearchResult5 : public IEdmObject5

# Example

Create a Task that Finds Approved Files (VB.NET)
Create a Task that Finds Approved Files (C#)
Create a Task that Finds Files in Workflow States (VB.NET)
Create a Task that Finds Files in Workflow States (C#)

# Remarks

This interface:

- inherits from IEdmObject5.
- is extended by IEdmSearchResult6 which provides the ability to perform favorite searches and get accurate sizes of very large files.

To use this interface:

1. Obtain an object for this interface by calling IEdmSearch5::GetFirstResult or IEdmSearch10::GetFirstFavoriteResult.
2. Determine the type of the result object by calling one of the inherited properties on the IEdmSearchResult5 object, ID or Name.
3. If the type of this search result is a:
   1. file, cast this interface's object to IEdmFile5.
   2. folder, cast this interface's object to IEdmFolder5.

# Accessors

IEdmSearch5::GetFirstResult

IEdmSearch5::GetNextResult

IEdmSearch10::GetFirstFavoriteResult

# See Also

####

IEdmSearchResult5 Members
EPDM.Interop.epdm Namespace