Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a content type from the input context.
![]() |
Syntax
HRESULT retVal = object.GetType(pType);
Parameters
pType [out]
Type: OpenServiceActivityContentTypeAn OpenServiceActivityContentType enumeration that contains the retrieved content type.
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.
.png)