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.StringThe 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
Permissions
- 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.