GetType method

Retrieves a content type from the input context.

Internet Explorer 8

 

Syntax


HRESULT retVal = object.GetType(pType);

Parameters

pType [out]

Type: OpenServiceActivityContentType

An 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.

See also

IOpenServiceActivityInput::HasVariable

 

 

Show: