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