This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditor Interface > IEngineEditor.GetTaskByUniqueName Method (ArcObjects .NET 10.4 SDK) |
Retrieves a task by UniqueName from the EngineEditor.
[Visual Basic .NET] Public Function GetTaskByUniqueName ( _ ByVal UniqueName As String _ ) As IEngineEditTask
[C#] public IEngineEditTask GetTaskByUniqueName ( string UniqueName );
[C++]
HRESULT GetTaskByUniqueName(
BSTR UniqueName,
IEngineEditTask** Task
);
[C++]
Parameters UniqueName [in] UniqueName is a parameter of type BSTR Task [out, retval]
Task is a parameter of type IEngineEditTask
Retrieves the engine edit task that is uniquely identified by it's IEngineEditTask::UniqueName string.
For example, the out-of-the-box "Create New Feature" and "Modify Feature" engine edit tasks have IEngineEditTask::UniqueName properties of "ControlToolsEditing_CreateNewFeatureTask" and "ControlToolsEditing_ModifyFeatureTask" respectively.