Share via


ISharePointProjectMemberReferenceResolver.ResolveReference<T> Method (Guid)

Returns the object model associated with the referenced SharePoint project item.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Function ResolveReference(Of T As Class) ( _
    itemId As Guid _
) As T
T ResolveReference<T>(
    Guid itemId
)
where T : class

Type Parameters

  • T
    The type of the object model associated with the referenced item.

Parameters

  • itemId
    Type: Guid

    The ID of the referenced item.

Return Value

Type: T
The object model of the reference item, or nulla null reference (Nothing in Visual Basic) if the item cannot be resolved.

.NET Framework Security

See Also

Reference

ISharePointProjectMemberReferenceResolver Interface

ResolveReference Overload

Microsoft.VisualStudio.SharePoint Namespace