CreateGroupAsync Method
Overloads
| CreateGroupAsync(String, NxGroupDef, String) |
You can use the CreateGroup method with any object that contains an object grouping definition. This method allows you to create a new subgroup of objects directly and add it to a group's members. Returns the ID of the created subgroup. |
|
| CreateGroupAsync(AsyncHandle, String, NxGroupDef, String) |
You can use the CreateGroup method with any object that contains an object grouping definition. This method allows you to create a new subgroup of objects directly and add it to a group's members. Returns the ID of the created subgroup. |
|
| CreateGroupAsync<T>(AsyncHandle, Func<Response, T>, String, NxGroupDef, String) |
You can use the CreateGroup method with any object that contains an object grouping definition. This method allows you to create a new subgroup of objects directly and add it to a group's members. Returns the ID of the created subgroup. |
CreateGroupAsync(String, NxGroupDef, String)
You can use the CreateGroup method with any object that contains an object grouping definition.
This method allows you to create a new subgroup of objects directly and add it to a group's members.
Returns the ID of the created subgroup.
Declaration
public Task<string> CreateGroupAsync([QixName("qPath")] string path, [QixName("qGroupDef")] NxGroupDef groupDef, [QixName("qTargetGroupId")] string targetGroupId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | path |
Path to the definition of the object to be selected.
For example |
| NxGroupDef | groupDef |
Definition of the new group. |
| System.String | targetGroupId |
Id of the group to create the new subgroup in (if not the called object). |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
Implements
CreateGroupAsync(AsyncHandle, String, NxGroupDef, String)
You can use the CreateGroup method with any object that contains an object grouping definition.
This method allows you to create a new subgroup of objects directly and add it to a group's members.
Returns the ID of the created subgroup.
Declaration
public Task<string> CreateGroupAsync(AsyncHandle asyncHandle, [QixName("qPath")] string path, [QixName("qGroupDef")] NxGroupDef groupDef, [QixName("qTargetGroupId")] string targetGroupId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.String | path |
Path to the definition of the object to be selected.
For example |
| NxGroupDef | groupDef |
Definition of the new group. |
| System.String | targetGroupId |
Id of the group to create the new subgroup in (if not the called object). |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
Implements
CreateGroupAsync<T>(AsyncHandle, Func<Response, T>, String, NxGroupDef, String)
You can use the CreateGroup method with any object that contains an object grouping definition.
This method allows you to create a new subgroup of objects directly and add it to a group's members.
Returns the ID of the created subgroup.
Declaration
public Task<T> CreateGroupAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qPath")] string path, [QixName("qGroupDef")] NxGroupDef groupDef, [QixName("qTargetGroupId")] string targetGroupId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| System.String | path |
Path to the definition of the object to be selected.
For example |
| NxGroupDef | groupDef |
Definition of the new group. |
| System.String | targetGroupId |
Id of the group to create the new subgroup in (if not the called object). |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |