Share via


SoundEffect.Name Property

Returns or sets the name of the specified object. Read/write.

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

Syntax

'Declaration
Property Name As String
    Get
    Set
'Usage
Dim instance As SoundEffect
Dim value As String

value = instance.Name

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

Property Value

Type: System.String

Remarks

You can use the object's name in conjunction with the Item method to return a reference to the object if the Item method for the collection that contains the object takes it as an argument. For example, if the value of the Name property for a shape is Rectangle 2, then .Shapes("Rectangle 2") will return a reference to that shape.

See Also

Reference

SoundEffect Interface

SoundEffect Members

Microsoft.Office.Interop.PowerPoint Namespace