GetSize Method

The GetSize method returns the size of the content designated by the URL.

Syntax
HRESULT GetSize(
  ULONGLONG* pllSize);
Parameters
  • pllSize
    [out] Pointer to an ULONGLONG that indicates the number of bytes of data contained in URL.
Return Value

For a list of error messages returned by SharePoint Portal Server Protocol Handlers, see Error Messages.

Remarks

The value calculated in this method is a factor in determining limitations on IFilter output size. This method should return 0 for containers if the protocol implementation is for a hierarchical content source.

Example

To see this method in a fuller context, see Protocol Handler Sample.