FileContextActionDelegate(IFileContextAction, String) Constructor

Definition

Initializes a new instance of the FileContextActionDelegate class.

public:
 FileContextActionDelegate(Microsoft::VisualStudio::Workspace::IFileContextAction ^ fileContextAction, System::String ^ displayName);
public:
 FileContextActionDelegate(Microsoft::VisualStudio::Workspace::IFileContextAction ^ fileContextAction, Platform::String ^ displayName);
 FileContextActionDelegate(Microsoft::VisualStudio::Workspace::IFileContextAction const & fileContextAction, std::wstring const & displayName);
public FileContextActionDelegate (Microsoft.VisualStudio.Workspace.IFileContextAction fileContextAction, string displayName);
new Microsoft.VisualStudio.Workspace.FileContextActionDelegate : Microsoft.VisualStudio.Workspace.IFileContextAction * string -> Microsoft.VisualStudio.Workspace.FileContextActionDelegate
Public Sub New (fileContextAction As IFileContextAction, displayName As String)

Parameters

fileContextAction
IFileContextAction

The delegate IFileContextAction

displayName
String

Display name

Applies to