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.| Visual Basic | |
|---|---|
Public Interface IEdmSearchResult6 Inherits IEdmObject5, IEdmSearchResult5 | |
| C# | |
|---|---|
public interface IEdmSearchResult6 : IEdmObject5, IEdmSearchResult5 | |
| C++/CLI | |
|---|---|
public interface class IEdmSearchResult6 : public IEdmObject5, IEdmSearchResult5 | |
See the IEdmSearch10 examples.
This interface extends IEdmSearchResult5.
To use this interface:
- Call IEdmSearch10::GetFirstFavoriteResult, specifying a favorite search name and whether to get search result custom column information.
- 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.)
- If the type of this search result is an:
- EdmObjectType.EdmObject_File, cast the search result object to IEdmFile5.
- EdmObjectType.EdmObject_Folder, cast the search result object to IEdmFolder5.
- 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.