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.
Determines whether the given collection exists.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function CollectionExists ( _
collectionPath As String, _
<OutAttribute> ByRef pfExists As Integer _
) As Integer
int CollectionExists(
string collectionPath,
out int pfExists
)
int CollectionExists(
[InAttribute] String^ collectionPath,
[OutAttribute] int% pfExists
)
abstract CollectionExists :
collectionPath:string *
pfExists:int byref -> int
function CollectionExists(
collectionPath : String,
pfExists : int
) : int
Parameters
collectionPath
Type: String[in] The path to the collection.
pfExists
Type: Int32%[out] Returns true if the collection exists.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.