Compartir a través de


ScopeNode Constructor (Guid, Boolean)

 

Initializes a new instance of the ScopeNode class using a GUID that specifies the type of the scope node and a flag that determines whether the scope node is created with the Expand icon enabled.

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

Syntax

public ScopeNode(
    Guid nodeType,
    bool hideExpandIcon
)
public:
ScopeNode(
    Guid nodeType,
    bool hideExpandIcon
)
new : 
        nodeType:Guid *
        hideExpandIcon:bool -> ScopeNode
Public Sub New (
    nodeType As Guid,
    hideExpandIcon As Boolean
)

Parameters

  • nodeType
    Type: System.Guid

    The type of scope node. This value is used by the MMC extension mechanism.

  • hideExpandIcon
    Type: System.Boolean

    If this value is true, the ScopeNode is created with the Expand icon enabled. When children are added to the node, the Expand icon is enabled regardless of the value of this parameter.

See Also

ScopeNode Overload
ScopeNode Class
Microsoft.ManagementConsole Namespace

Return to top