共用方式為


IVsDataViewBrowseObjectProvider.CreateBrowseObject(Int32, Object) Method

Definition

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

public:
 System::Object ^ CreateBrowseObject(int itemId, System::Object ^ autoBrowseObj);
public object CreateBrowseObject (int itemId, object autoBrowseObj);
abstract member CreateBrowseObject : int * obj -> obj
Public Function CreateBrowseObject (itemId As Integer, autoBrowseObj As Object) As Object

Parameters

itemId
Int32

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

autoBrowseObj
Object

A browse object automatically generated with information in the data view support XML, or null 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.

Returns

An object representing the browse object for the specified node.

Applies to