IAttachedCollectionService::GetRelationships Method (Object^)
Visual Studio 2015
Gets the set of relationships supported for a given item.
Assembly: Microsoft.VisualStudio.Shell.Immutable.12.0 (in Microsoft.VisualStudio.Shell.Immutable.12.0.dll)
Parameters
- item
-
Type:
System::Object^
The item.
Return Value
Type: System.Collections.Generic::IEnumerable<IAttachedRelationship^>^Returns IEnumerable<T> of supported relationships.
For a concrete example, an item of type "Class" might support relationships like "Base Types", "Derived Types", and "Members". These relationship descriptions would be returned from this method.
Show: