Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ScopeNodeContextMenu property returns the context menu for the specified node. This property is read-only.
Syntax
Property ScopeNodeContextMenu( _
[ ByVal ScopeNode As Variant ] _
) As ContextMenu
Property value
The ContextMenu object for the view's specified node.
Examples
' This code retrieves the context menu for
' the Document's RootNode.
Dim var1 As Variant
Set var1 = objDoc.RootNode
Dim objCtxMenu As MMC20.ContextMenu
Set objCtxMenu = objView.ScopeNodeContextMenu(var1)
' Use the ContextMenu. This code displays
' the ContextMenu.Count property.
MsgBox ("objCtxMenu.Count = " & objCtxMenu.Count)
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
IID |
IID_View is defined as 6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38 |