IPeekableItem.GetOrCreateResultSource(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.
Gets or creates an IPeekResultSource instance representing a source of results of querying this IPeekableItem for the given relationship.
public:
Microsoft::VisualStudio::Language::Intellisense::IPeekResultSource ^ GetOrCreateResultSource(System::String ^ relationshipName);
public:
Microsoft::VisualStudio::Language::Intellisense::IPeekResultSource ^ GetOrCreateResultSource(Platform::String ^ relationshipName);
Microsoft::VisualStudio::Language::Intellisense::IPeekResultSource GetOrCreateResultSource(std::wstring const & relationshipName);
public Microsoft.VisualStudio.Language.Intellisense.IPeekResultSource GetOrCreateResultSource (string relationshipName);
abstract member GetOrCreateResultSource : string -> Microsoft.VisualStudio.Language.Intellisense.IPeekResultSource
Public Function GetOrCreateResultSource (relationshipName As String) As IPeekResultSource
Parameters
- relationshipName
- String
The case insenitive name of the relationship to be queried for results.
Returns
A valid IPeekResultSource instance or null if this IPeekableItem instance can not provide results for the given relationship.