Determines whether the result collection contains the specified object class. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As ResultObjectsManager
Dim type As String
Dim returnValue As Boolean

returnValue = instance.ContainsObjectClass(type)

Syntax

Visual Basic
Public Function ContainsObjectClass ( _
		type As String _
) As Boolean
C#
public bool ContainsObjectClass (
		string type
)
C++
public:
virtual bool ContainsObjectClass (
		String^ type
) sealed
J#
public final boolean ContainsObjectClass (
		String type
)
JScript
public final function ContainsObjectClass (
		type : String
) : boolean

Parameters

type

[in] Object class for which to search.

Return Value

true if the result collection contains the specified object class; otherwise false..

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also