![](/modules/custom/trimble_html_import/icons/logo.png) | ISubModelsGetSubModelAsync Method |
Returns the sub-models from the given indices
Namespace: TSD.API.Remoting.StructureAssembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 23.1.0.154
SyntaxTask<IEnumerable<ISubModel>> GetSubModelAsync(
IEnumerable<int>? indices = null,
CancellationToken cancellationToken = default
)
Function GetSubModelAsync (
Optional indices As IEnumerable(Of Integer) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IEnumerable(Of ISubModel))
Task<IEnumerable<ISubModel^>^>^ GetSubModelAsync(
IEnumerable<int>^ indices = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetSubModelAsync :
?indices : IEnumerable<int> *
?cancellationToken : CancellationToken
(* Defaults:
let _indices = defaultArg indices null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IEnumerable<ISubModel>>
Parameters
- indices IEnumerableInt32 (Optional)
- The requested ISubModel indices, null to get all
- cancellationToken CancellationToken (Optional)
- The optional cancellation token
Return Value
TaskIEnumerableISubModelSub-models with the specified
indices
See Also