IAttachedCollectionService::GetRelationship Method (Object^, String^)
Visual Studio 2015
Given a name for a relationship, returns an T:Microsoft.VisualStudio.IAttachedRelationship containing a localizable description of the relationship.
Assembly: Microsoft.VisualStudio.Shell.Immutable.12.0 (in Microsoft.VisualStudio.Shell.Immutable.12.0.dll)
Parameters
- item
-
Type:
System::Object^
The item.
- relationshipName
-
Type:
System::String^
The name of the relationship.
Return Value
Type: Microsoft.VisualStudio.Shell::IAttachedRelationship^Returns an IAttachedRelationship corresponding to the relationship, or null if the relationship is unknown.
Show: