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


Tags Interface

Represents a tag or a custom property that you can create for a shape, slide, or presentation.

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

Syntax

'Declaration
<GuidAttribute("914934B9-5A91-11CF-8700-00AA0060263B")> _
Public Interface Tags _
    Inherits Collection
'Usage
Dim instance As Tags
[GuidAttribute("914934B9-5A91-11CF-8700-00AA0060263B")]
public interface Tags : Collection

Remarks

Each Tags object contains the name of a custom property and a value for that property.

Create tags when you want to be able to selectively work with specific members of a collection, based on an attribute that isn't already represented by a built-in property. For example, if you want to be able to categorize slides in a presentation based on what region of the country/region they apply to, you could create a Region tag and assign a Region value to each slide in the presentation. You could then selectively perform an operation on some of the slides, based on the values of their Region tags, such as hiding all the slides with the Region value "East."

See Also

Reference

Tags Members

Microsoft.Office.Interop.PowerPoint Namespace