IEditorTaskPanelService.TryGetTaskTabDescriptor Method
Applies to v2.
Returns a descriptor if tab exists.
Namespace: Microsoft.WebMatrix.Extensibility.Editor
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Function TryGetTaskTabDescriptor ( _
id As Guid, _
<OutAttribute> ByRef descriptor As TaskTabItemDescriptor _
) As Boolean
'Usage
Dim instance As IEditorTaskPanelService
Dim id As Guid
Dim descriptor As TaskTabItemDescriptor
Dim returnValue As Boolean
returnValue = instance.TryGetTaskTabDescriptor(id, _
descriptor)
bool TryGetTaskTabDescriptor(
Guid id,
out TaskTabItemDescriptor descriptor
)
bool TryGetTaskTabDescriptor(
Guid id,
[OutAttribute] TaskTabItemDescriptor^% descriptor
)
abstract TryGetTaskTabDescriptor :
id:Guid *
descriptor:TaskTabItemDescriptor byref -> bool
function TryGetTaskTabDescriptor(
id : Guid,
descriptor : TaskTabItemDescriptor
) : boolean
Parameters
id
Type: System.GuidThe unique ID for the tab.
descriptor
Type: Microsoft.WebMatrix.Extensibility.TaskTabItemDescriptor%When this method returns, contains the descriptor of tab content and header.
Return Value
Type: System.Boolean
true if tab exists; otherwise, false.