Share via


DataViewBrowseObjectProvider Class

Allows you to retrieve a specialized browse object for a specified node in a given data view.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Class DataViewBrowseObjectProvider _
    Inherits DataSiteableObject(Of IVsDataViewHierarchy) _
    Implements IVsDataViewBrowseObjectProvider
'Usage
Dim instance As DataViewBrowseObjectProvider
[CLSCompliantAttribute(false)]
public class DataViewBrowseObjectProvider : DataSiteableObject<IVsDataViewHierarchy>, 
    IVsDataViewBrowseObjectProvider
[CLSCompliantAttribute(false)]
public ref class DataViewBrowseObjectProvider : public DataSiteableObject<IVsDataViewHierarchy^>, 
    IVsDataViewBrowseObjectProvider
public class DataViewBrowseObjectProvider extends DataSiteableObject<IVsDataViewHierarchy> implements IVsDataViewBrowseObjectProvider

Remarks

Classes derived from DataViewBrowseObjectProvider should implement the CreateBrowseObject method by using the pointer back to the hierarchy in order to contextualize the specified itemId. If you do this, you can use any auto-generated browse object as a base for more specialized browse objects.

The base class implementation simply returns the value of the auto-generated browse object.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Framework.DataSiteableObject<IVsDataViewHierarchy>
    Microsoft.VisualStudio.Data.Framework.DataViewBrowseObjectProvider

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DataViewBrowseObjectProvider Members

Microsoft.VisualStudio.Data.Framework Namespace

DataSiteableObject<T>