DataViewBrowseObjectProvider.GetBrowseObject Method
Retrieves a special browse object for a data view node, given the specified node's item ID.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
Public Overridable Function GetBrowseObject ( _
itemId As Integer, _
autoBrowseObj As Object _
) As Object
Dim instance As DataViewBrowseObjectProvider
Dim itemId As Integer
Dim autoBrowseObj As Object
Dim returnValue As Object
returnValue = instance.GetBrowseObject(itemId, _
autoBrowseObj)
public virtual Object GetBrowseObject(
int itemId,
Object autoBrowseObj
)
public:
virtual Object^ GetBrowseObject(
int itemId,
Object^ autoBrowseObj
)
public function GetBrowseObject(
itemId : int,
autoBrowseObj : Object
) : Object
Parameters
itemId
Type: System.Int32An item ID specifying a node for which to get a custom browse object.
autoBrowseObj
Type: System.ObjectA browse object automatically generated with information in the data view support XML, or nulla 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 scratch.
Return Value
Type: System.Object
Returns an object representing the browse object for the specified node.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataViewBrowseObjectProvider Class