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

要枚举其可能关系的项。

返回

关系的可枚举。

适用于