DataViewDocumentProvider.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.
Indicates whether a document can be opened for the specified node in the data view and for the given logical view.
public:
virtual bool CanOpen(int itemId, Guid logicalView);
public virtual bool CanOpen (int itemId, Guid logicalView);
abstract member CanOpen : int * Guid -> bool
override this.CanOpen : int * Guid -> bool
Public Overridable 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.