Поделиться через


CommandEffect.Command Property

Represents the command to be executed for the command effect. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property Command As String
    Get
    Set
'Usage
Dim instance As CommandEffect
Dim value As String

value = instance.Command

instance.Command = value
string Command { get; set; }

Property Value

Type: System.String

Remarks

You can send OLE verbs to embedded objects by using this property.

If the shape is an OLE object, then the OLE object will execute the command if it understands the verb.

If the shape is a media object (sound/video), Microsoft PowerPoint understands the following verbs: play, stop, pause, togglepause, resume and playfrom. Any other command sent to the shape will be ignored.

See Also

Reference

CommandEffect Interface

CommandEffect Members

Microsoft.Office.Interop.PowerPoint Namespace