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


NamedSlideShow.Name Property

You cannot use this property to set the name for a custom slide show. Use the Add(String, Object) method to redefine a custom slide show under a new name. Read-only.

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

Syntax

'Declaration
ReadOnly Property Name As String
    Get
'Usage
Dim instance As NamedSlideShow
Dim value As String

value = instance.Name
string Name { get; }

Property Value

Type: System.String

Remarks

You can use the object's name in conjunction with the Item[Object] method to return a reference to the object. 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

NamedSlideShow Interface

NamedSlideShow Members

Microsoft.Office.Interop.PowerPoint Namespace