共用方式為


GlobalObjectCollection.Contains Method

Determines whether this collection contains the given item.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣告
Public Function Contains ( _
    item As GlobalObject _
) As Boolean
public bool Contains(
    GlobalObject item
)

Parameters

Return Value

Type: System.Boolean
true if the collection contains the object, otherwise false.

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

Microsoft.VisualStudio.Shell.Design Namespace