Share via


_Master.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 _Master
Dim value As String

value = instance.Name

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

Property Value

Type: System.String
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 a Variant 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

_Master Interface

_Master Members

Microsoft.Office.Interop.PowerPoint Namespace