Share

ComponentOrPattern Class

Wrapper for a component occurrence, pattern, or a name of either one of those.

Inheritance Hierarchy

System.Object
  Autodesk.iLogic.Types.ComponentOrPattern

Namespace:  Autodesk.iLogic.Types
Assembly:  Autodesk.iLogic.Types (in Autodesk.iLogic.Types.dll) Version: 30.0

Syntax

VB

Public Class ComponentOrPattern

C#

public class ComponentOrPattern

The ComponentOrPattern type exposes the following members.

Constructors

  NameDescription
Public methodComponentOrPattern(IEnumerable(Object))
Construct from a list of objects. If one of the items is not convertible to a ComponentOrPattern, an exception will be thrown.
Public methodComponentOrPattern(String)
Constructor.
Public methodComponentOrPattern(IEnumerable(ComponentOrPattern))
Constructor
Public methodComponentOrPattern(ManagedComponentOccurrence)
Constructor.
Public methodComponentOrPattern(ManagedPattern)
Constructor.

Properties

  NameDescription
Public propertyIsNull
Returns true if this object contains no data.
Public propertyItems
Gets the items, if more than one.
Public propertyName
Gets the name.
Public propertyOccurrence
Gets the component occurrence.
Public propertyPattern
Gets the pattern.

Methods

  NameDescription
Public methodGetItems
Gets all items.

Operators

  NameDescription
Public operatorStatic memberImplicit( Object[] to ComponentOrPattern)
Convert an array of objects. If one of the items is not convertible to a ComponentOrPattern, an exception will be thrown.
Public operatorStatic memberImplicit(String to ComponentOrPattern)
Convert a name.
Public operatorStatic memberImplicit( ComponentOrPattern[] to ComponentOrPattern)
Convert an array of items.
Public operatorStatic memberImplicit(ManagedComponentOccurrence to ComponentOrPattern)
Convert a component occurrence.
Public operatorStatic memberImplicit(ManagedPattern to ComponentOrPattern)
Convert a component pattern.

See Also

Reference

Was this information helpful?