Bagikan melalui


ISharePointProjectMemberReferenceResolver.ResolveReference<T> Method (String)

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) ( _
    path As String _
) As T
T ResolveReference<T>(
    string path
)
where T : class

Type Parameters

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

Parameters

  • path
    Type: System.String
    The path to the definition of a SharePoint project 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