Tasks.Exists Method
Determines whether the specified task exists. Returns True if the task exists.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Exists ( _
Name As String _
) As Boolean
'Usage
Dim instance As Tasks
Dim Name As String
Dim returnValue As Boolean
returnValue = instance.Exists(Name)
bool Exists(
string Name
)
Parameters
- Name
Type: System.String
Required String. A task name.
Return Value
Type: System.Boolean