OLE DB Programmer's Reference |
Returns a new view describing conditions applied to the specified chapter.
HRESULT GetView ( HCHAPTER hChapter, REFIID riid, HCHAPTER *phChapterSource, IUnknown **ppView);
Parameters
Return Code
Comments
IRowsetView::GetView returns a new view on which the consumer representing the view conditions applied to the specified chapter. The consumer can call methods such as IViewFilter::GetFilter and IViewSort::GetSortOrder to determine the filter and sort conditions applied to the chapter when created.
The view returned is not the same view as was used when the view was created; it simply returns the same view conditions. Therefore, if the consumer has changed or released the original view after creating the chapter, it has no effect on the view returned by this method.
The consumer must call Release to release the returned view when it is no longer needed.
1998-2001 Microsoft Corporation. All rights reserved.