Share via


Modality.CanInvoke method

Returns a flag indicating whether a specific action is available.

Namespace:  Microsoft.Lync.Model.Conversation
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Function CanInvoke ( _
    action As ModalityAction _
) As Boolean
'Usage
Dim instance As Modality
Dim action As ModalityAction
Dim returnValue As Boolean

returnValue = instance.CanInvoke(action)
public bool CanInvoke(
    ModalityAction action
)

Parameters

Return value

Type: System.Boolean

See also

Reference

Modality class

Modality members

Microsoft.Lync.Model.Conversation namespace