Partilhar via


IPeekableItem.GetOrCreateResultSource(String) Method

Definition

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.

Applies to