共用方式為


ValidationRuleSets.Item Property (Visio)

Returns the ValidationRuleSet object that has the specified universal name or index position. Read-only.

Version Information

Version Added: Visio 2010

Syntax

expression .Item(NameUOrIndex)

expression A variable that represents a ValidationRuleSets object.

Parameters

Name

Required/Optional

Data Type

Description

NameUOrIndex

Required

Variant

The universal name of the object, or the index number of the object in its collection.

Return Value

ValidationRuleSet

Remarks

When retrieving objects from a collection, you can omit Item from the expression because it is the default property for all collections.