ISharePointProjectMemberReferenceResolver.ResolveReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ResolveReference<T>(ISharePointProjectMemberReference) |
Returns the object model associated with the referenced SharePoint project item. |
ResolveReference<T>(Guid) |
Returns the object model associated with the referenced SharePoint project item. |
ResolveReference<T>(String) |
Returns the object model associated with the referenced SharePoint project item. |
ResolveReference<T>(ISharePointProjectMemberReference)
Returns the object model associated with the referenced SharePoint project item.
public:
generic <typename T>
where T : class T ResolveReference(Microsoft::VisualStudio::SharePoint::ISharePointProjectMemberReference ^ reference);
public T ResolveReference<T> (Microsoft.VisualStudio.SharePoint.ISharePointProjectMemberReference reference) where T : class;
abstract member ResolveReference : Microsoft.VisualStudio.SharePoint.ISharePointProjectMemberReference -> 'T (requires 'T : null)
Public Function ResolveReference(Of T As Class) (reference As ISharePointProjectMemberReference) As T
Type Parameters
- T
The type of the object model associated with the referenced item.
Parameters
- reference
- ISharePointProjectMemberReference
A reference to a SharePoint project item.
Returns
The object model of the reference item, or null
if the item cannot be resolved.
Applies to
ResolveReference<T>(Guid)
Returns the object model associated with the referenced SharePoint project item.
public:
generic <typename T>
where T : class T ResolveReference(Guid itemId);
public T ResolveReference<T> (Guid itemId) where T : class;
abstract member ResolveReference : Guid -> 'T (requires 'T : null)
Public Function ResolveReference(Of T As Class) (itemId As Guid) As T
Type Parameters
- T
The type of the object model associated with the referenced item.
Parameters
- itemId
- Guid
The ID of the referenced item.
Returns
The object model of the reference item, or null
if the item cannot be resolved.
Applies to
ResolveReference<T>(String)
Returns the object model associated with the referenced SharePoint project item.
public:
generic <typename T>
where T : class T ResolveReference(System::String ^ path);
public T ResolveReference<T> (string path) where T : class;
abstract member ResolveReference : string -> 'T (requires 'T : null)
Public Function ResolveReference(Of T As Class) (path As String) As T
Type Parameters
- T
The type of the object model associated with the referenced item.
Parameters
- path
- String
The path to the definition of a SharePoint project item.
Returns
The object model of the reference item, or null
if the item cannot be resolved.