<xml> </xml>

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

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 : IEdmSearchResult6 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 IEdmSearchResult6
       Inherits IEdmObject5, IEdmSearchResult5

C# |
--- | ---

    public interface IEdmSearchResult6 : IEdmObject5, IEdmSearchResult5

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

    public interface class IEdmSearchResult6 : public IEdmObject5, IEdmSearchResult5

# Example

See the IEdmSearch10 examples.

# Remarks

This interface extends IEdmSearchResult5.

To use this interface:

1. Call IEdmSearch10::GetFirstFavoriteResult, specifying a favorite search name and whether to get search result custom column information.
2. Determine the type of the search result returned in step 1 by inspecting ObjectType. (Becaue IEdmSearchResult5 inherits from IEdmObject5, you can simply call IEdmSearchResult5::ObjectType.)
3. If the type of this search result is an:
   1. EdmObjectType.EdmObject_File, cast the search result object to IEdmFile5.
   2. EdmObjectType.EdmObject_Folder, cast the search result object to IEdmFolder5.
4. Cast the search result object obtained in step 1 to an IEdmSearchResult6 object. Call IEdmSearchResult6::GetCustomColumnsInfo and IEdmSearchResult6::GetCustomColumnValues to obtain custom column information for the search result listing.

# See Also

####

IEdmSearchResult6 Members
EPDM.Interop.epdm Namespace