IVsSearchProvider.CreateItemResult(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of a search result from a persistence string previously obtained by getting the value of the persistence data string.
public:
Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult ^ CreateItemResult(System::String ^ lpszPersistenceData);
public:
Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult ^ CreateItemResult(Platform::String ^ lpszPersistenceData);
Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult CreateItemResult(std::wstring const & lpszPersistenceData);
public Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult CreateItemResult (string lpszPersistenceData);
abstract member CreateItemResult : string -> Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult
Public Function CreateItemResult (lpszPersistenceData As String) As IVsSearchItemResult
Parameters
- lpszPersistenceData
- String
[in] The persistence string from which to re-create a previous search result.
Returns
An IVsSearchItemResult if the persisted item is valid in the current context, null otherwise.