IVsDataViewBrowseObjectProvider.CreateBrowseObject Method

When implemented by a class, retrieves a special browse object for a data view node, given the specified node's item ID.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'宣言
Function CreateBrowseObject ( _
    itemId As Integer, _
    autoBrowseObj As Object _
) As Object
'使用
Dim instance As IVsDataViewBrowseObjectProvider
Dim itemId As Integer
Dim autoBrowseObj As Object
Dim returnValue As Object

returnValue = instance.CreateBrowseObject(itemId, _
    autoBrowseObj)
Object CreateBrowseObject(
    int itemId,
    Object autoBrowseObj
)
Object^ CreateBrowseObject(
    int itemId, 
    Object^ autoBrowseObj
)
function CreateBrowseObject(
    itemId : int, 
    autoBrowseObj : Object
) : Object

Parameters

  • itemId
    Type: System.Int32

    An item ID specifying a node for which to create a custom browse object.

  • autoBrowseObj
    Type: System.Object

    A browse object automatically generated with information in the data view support XML, or a null reference (Nothing in Visual Basic) if the XML indicates that no such browse object should be generated. This allows an implementation of this method to specify most settings in XML and then provide only minor modification to the set of properties, rather than necessitating building the object from the beginning.

Return Value

Type: System.Object

An object representing the browse object for the specified node.

Permissions

See Also

Reference

IVsDataViewBrowseObjectProvider Interface

IVsDataViewBrowseObjectProvider Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace