Share via


IAttachedCollectionSourceProvider.GetRelationships(Object) 方法

定義

針對指定的 物件,列舉這個提供者知道的可能關聯性集合。

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Shell::IAttachedRelationship ^> ^ GetRelationships(System::Object ^ item);
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Shell.IAttachedRelationship> GetRelationships (object item);
abstract member GetRelationships : obj -> seq<Microsoft.VisualStudio.Shell.IAttachedRelationship>
Public Function GetRelationships (item As Object) As IEnumerable(Of IAttachedRelationship)

參數

item
Object

要列舉可能關聯性的專案。

傳回

關聯性的可列舉。

適用於