Share via


ViewAddInBase.SetCurrentScope Method (AddInContextType, ContextObject)

 

Applies To: System Center 2016 - Virtual Machine Manager

Called by the add-in framework when the selected item in the console navigation tree has changed.

Namespace:   Microsoft.SystemCenter.VirtualMachineManager.UIAddIns
Assembly:  Microsoft.SystemCenter.VirtualMachineManager.UIAddIns (in Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.dll)

Syntax

public virtual void SetCurrentScope(
    AddInContextType scopeType,
    ContextObject scopeObject
)
public:
virtual void SetCurrentScope(
    AddInContextType scopeType,
    ContextObject^ scopeObject
)
abstract SetCurrentScope : 
        scopeType:AddInContextType *
        scopeObject:ContextObject -> unit
override SetCurrentScope : 
        scopeType:AddInContextType *
        scopeObject:ContextObject -> unit
Public Overridable Sub SetCurrentScope (
    scopeType As AddInContextType,
    scopeObject As ContextObject
)

Parameters

  • scopeType
    Type: Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.ContextTypes.AddInContextType

    Type: AddInContextType

    The scope type of the currently selected console navigation tree item.

  • scopeObject
    Type: Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.ContextTypes.ContextObject

    Type: ContextObject

    The Virtual Machine Manager (VMM) object that corresponds to the scopeType parameter. The value may be null if the scopeType parameter does not have a backing VMM object.

See Also

ViewAddInBase Class
Microsoft.SystemCenter.VirtualMachineManager.UIAddIns Namespace

Return to top