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: StringThe 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
- 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.