Export (0) Print
Expand All

IOpenServiceActivityInput::GetType Method

Retrieves a content type from the input context.

Syntax


HRESULT GetType(
    OpenServiceActivityContentType *pType
);

Parameters

pType
[out]  An OpenServiceActivityContentType enumeration that contains the retrieved content type.

Return Value

Returns S_OK if successful, or an error value otherwise.

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

Community Additions

ADD
Show:
© 2014 Microsoft