IVsDataObjectCollection.Contains Method (String)
Indicates whether the collection of data objects contains a data object corresponding to the specified identifier.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function Contains ( _
identifier As String _
) As Boolean
bool Contains(
string identifier
)
bool Contains(
String^ identifier
)
abstract Contains :
identifier:string -> bool
function Contains(
identifier : String
) : boolean
Parameters
identifier
Type: System.StringA string containing the identifier parts that uniquely identify the data object requested, separated by a delimiter character.
Return Value
Type: System.Boolean
true if the specified data object exists in the collection; otherwise, false.
.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.