Share via


NodeSubItemDisplayNameCollection.Contains Method (String)

 

Determines whether a specific node sub-item display name is in the collection.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public bool Contains(
    string displayName
)
public:
bool Contains(
    String^ displayName
)
member Contains : 
        displayName:string -> bool
Public Function Contains (
    displayName As String
) As Boolean

Parameters

  • displayName
    Type: System.String

    The node sub-item display name to locate in the collection.

Return Value

Type: System.Boolean

If the node sub-item display name is in the collection, this value is true; otherwise, false.

See Also

Contains Overload
NodeSubItemDisplayNameCollection Class
Microsoft.ManagementConsole Namespace

Return to top