Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns a value that indicates whether the collection contains the specified CachedDataHostItem.
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications.ServerDocument (in Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll)
Syntax
'Declaration
Public Function Contains ( _
hostItemId As String _
) As Boolean
public bool Contains(
string hostItemId
)
Parameters
hostItemId
Type: System.StringThe namespace and class in which the source data is cached.
Return Value
Type: System.Boolean
true if the collection contains a CachedDataHostItem that corresponds to the hostItemId parameter; otherwise, false.
Remarks
The hostItemId parameter is a string that specifies the namespace and the class in the solution document that contains the cached data. The namespace and class name are separated by a period (.), for example, "ExcelWorkbook1.ThisWorkbook".
.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.