Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the set of relationships supported for a given item.
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 IEnumerable 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.
.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.