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: ObjectThe item.
Return Value
Type: IEnumerable<IAttachedRelationship>
Returns an IEnumerableof relationships.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.