Share via


NodeSubItemDisplayNameCollection.Add Method (String)

 

Adds a node sub-item display name to the end of the collection.

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

Syntax

public int Add(
    string displayName
)
public:
int Add(
    String^ displayName
)
member Add : 
        displayName:string -> int
Public Function Add (
    displayName As String
) As Integer

Parameters

  • displayName
    Type: System.String

    The node sub-item display name to be added.

Return Value

Type: System.Int32

The index at which the node sub-item display name has been added.

See Also

NodeSubItemDisplayNameCollection Class
Microsoft.ManagementConsole Namespace

Return to top