GetTypeDetail method
Called by MSHTML to obtain the name of the selection type.
Syntax
HRESULT retVal = object.GetTypeDetail(pTypeDetail);
Parameters
pTypeDetail [out]
Type: BSTRBSTR that specifies the name of the selection type.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
You should implement this method to provide the name of a selection type that will be returned by IHTMLSelectionObject2::typeDetail.
This method allows your host application to provide the name of a selection type when implementing a custom selection mechanism.
MSHTML will return a value of undefined
if the host does not implement this method.