共用方式為


Selection.TextRange2 Property

Returns the TextRange2 object of the current Selection object. Read-only.

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

Syntax

'Declaration
ReadOnly Property TextRange2 As TextRange2
    Get
'Usage
Dim instance As Selection
Dim value As TextRange2

value = instance.TextRange2
TextRange2 TextRange2 { get; }

Property Value

Type: Microsoft.Office.Core.TextRange2

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.PowerPoint Namespace