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_typesObject type names and IDs as JSON array (represented by MF_ObjectTypeBasic struct).ValueList[]

Example

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