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.
Determines whether the Accelerator can preview the specified content type.
![]() |
Syntax
HRESULT retVal = object.CanPreviewType(type, pfCanPreview);
Parameters
type [in]
Type: OpenServiceActivityContentTypeA value from the OpenServiceActivityContentType enumeration, specifying the content type.
pfCanPreview [out]
Type: BOOLTRUE if a preview is possible; otherwise, FALSE.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.