IVsDataViewDocumentProvider.CanOpen(Int32, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented by a class, indicates whether a document can be opened for the specified node in the data view and for the given logical view.
public:
bool CanOpen(int itemId, Guid logicalView);
public bool CanOpen (int itemId, Guid logicalView);
abstract member CanOpen : int * Guid -> bool
Public Function CanOpen (itemId As Integer, logicalView As Guid) As Boolean
Parameters
- itemId
- Int32
A numerical identifier for the node.
- logicalView
- Guid
A unique identifier of a logical view.
Returns
true if a document can be opened; otherwise, false.