IAttachedCollectionService.GetRelationships(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the set of relationships supported for a given item.
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)
Parameters
- item
- Object
The item to get the supported relationships for.
Returns
An enumeration of supported relationships.
Remarks
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.