IVsDataViewDocumentProvider.CanOpen Method
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.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
‘선언
Function CanOpen ( _
itemId As Integer, _
logicalView As Guid _
) As Boolean
bool CanOpen(
int itemId,
Guid logicalView
)
bool CanOpen(
int itemId,
Guid logicalView
)
abstract CanOpen :
itemId:int *
logicalView:Guid -> bool
function CanOpen(
itemId : int,
logicalView : Guid
) : boolean
Parameters
- itemId
Type: System.Int32
A numerical identifier for the node.
- logicalView
Type: System.Guid
A unique identifier of a logical view.
Return Value
Type: System.Boolean
true if a document can be opened; otherwise, false.
.NET Framework Security
- 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
IVsDataViewDocumentProvider Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace