Skip to main content

GetObjectTypes

Gets object types (basic data such as IDs and names).

Syntax​

// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.ObjectTypesOperations.GetObjectTypes({
call_importance: 2 /* Enum: CallImportance */,
});

Message​

NameDescriptionType
call_importanceThe importance level of this call. Typically eciNormal.CallImportance

Return type​

NameDescriptionType
object_typesThe object types, as an array of ObjectTypeBasic objects.ValueList[]

Example​

{
"object_types": [] /* Array of ValueList */
}