ArcGIS Pro 2.6 API Reference Guide
AddReference(String,String,Func<Object>) Method

ArcGIS.Desktop.Framework.Contracts Namespace > DynamicMenu Class > AddReference Method : AddReference(String,String,Func<Object>) Method
Adds an existing DAML control to the menu with an option to update the control's caption.
Syntax
protected void AddReference( 
   string refID,
   string newCaption,
   Func<object> menuContext
)
Protected Overloads Sub AddReference( _
   ByVal refID As String, _
   Optional ByVal newCaption As String, _
   Optional ByVal menuContext As Func(Of Object) _
) 

Parameters

refID
newCaption
menuContext
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

DynamicMenu Class
DynamicMenu Members
Overload List