共用方式為


ISharePointProjectItemCollection.Find Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

See Also

Reference

ISharePointProjectItemCollection Interface

Microsoft.VisualStudio.SharePoint Namespace