Share via


IAttachedCollectionSourceProvider.GetRelationships Method

For a given object, enumerate the possible relationship collections this provider knows about.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.12.0 (in Microsoft.VisualStudio.Shell.Immutable.12.0.dll)

Syntax

'Declaration
Function GetRelationships ( _
    item As Object _
) As IEnumerable(Of IAttachedRelationship)
IEnumerable<IAttachedRelationship> GetRelationships(
    Object item
)
IEnumerable<IAttachedRelationship^>^ GetRelationships(
    Object^ item
)
abstract GetRelationships : 
        item:Object -> IEnumerable<IAttachedRelationship> 
function GetRelationships(
    item : Object
) : IEnumerable<IAttachedRelationship>

Parameters

  • item
    Type: Object

    The item.

Return Value

Type: IEnumerable<IAttachedRelationship>
Returns an IEnumerableof relationships.

.NET Framework Security

See Also

Reference

IAttachedCollectionSourceProvider Interface

Microsoft.VisualStudio.Shell Namespace