Partager via


GetType method

Retrieves a content type from the input context.

 

Syntax

HRESULT retVal = object.GetType(pType);

Parameters

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

An Accelerator may be registered for more than one content type, such as document, selection, or link. Use this method to determine which content type is currently being used.

See also

IOpenServiceActivityInput::HasVariable