ISharePointProjectItemCollection.Find Method
Finds a ISharePointProjectItem instance by its ID.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function Find ( _
id As Guid _
) As ISharePointProjectItem
ISharePointProjectItem Find(
Guid id
)
Parameters
- id
Type: System.Guid
The ID of the SharePoint project item instance to find.
Return Value
Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectItem
An object representing the SharePoint project item instance if it found; nulla null reference (Nothing in Visual Basic) otherwise.
.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.