OAReferences.Find Method

Finds a reference of the specified ID.

Namespace:  Microsoft.VisualStudio.Package.Automation
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Function Find ( _
    bstrIdentity As String _
) As Reference
'使用
Dim instance As OAReferences
Dim bstrIdentity As String
Dim returnValue As Reference

returnValue = instance.Find(bstrIdentity)
public Reference Find(
    string bstrIdentity
)
public:
virtual Reference^ Find(
    String^ bstrIdentity
) sealed
public final function Find(
    bstrIdentity : String
) : Reference

Parameters

  • bstrIdentity
    Type: System.String

    The ID of the reference to find.

Return Value

Type: VSLangProj.Reference

The reference if it exists, otherwise a null reference (Nothing in Visual Basic).

Implements

References.Find(String)

Permissions

See Also

Reference

OAReferences Class

OAReferences Members

Microsoft.VisualStudio.Package.Automation Namespace