Freigeben über


IVsDataViewDocumentProvider.CanOpen(Int32, Guid) Method

Definition

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.

Applies to