IXlsProtectedRanges
COM interface ( getting help with interfaces )

 

interface IXlsProtectedRanges : IDispatch
{
  [id(1),propget] HRESULT Count([out, retval]int* ranges);
  [id(2),propget] HRESULT Item([in]int i, [out, retval]IXlsProtectedRange** pr);
}

 

HRESULT Count([out, retval]int* ranges);
returns the number of protected ranges.

HRESULT Item([in]int i, [out, retval]IXlsProtectedRange** pr);
returns the i-th protected range. Index starts at 1.