ArcObjects Library Reference  (CatalogUI)    

GxPreview Example

The following VBA code will update the ViewClassID to the GxTableView preview (your code should make sure the GxTableView view is one of the support views before setting the property):

[Visual Basic 6.0]
Sub test2() Dim pApp As IGxApplication, pGxView As IGxView Set pApp = Application Set pGxView = pApp.View If TypeOf pGxView Is IGxPreview Then Dim pPrev As IGxPreview, pUID As New UID Set pPrev = pGxView Debug.Print pPrev.ViewClassID pUID = "{9C34344D-99DC-11D2-AF6A-080009EC734B}" 'GUID for GxTableView pPrev.ViewClassID = pUID End If End Sub

[Visual Basic .NET, C#, C++]
No example is available for Visual Basic .NET, C#, or C++. To view a Visual Basic 6.0 example, click the Language Filter button Language Filter in the upper-left corner of the page.