Contents

elementArray(withCode:)

Returns an array containing every child of the receiver with the given class-type code.

Declaration

func elementArray(withCode code: DescType) -> SBElementArray

Parameters

  • code:

    A four-character code that identifies a scripting class.

Return Value

An SBElementArray object containing every child of the receiver whose class matches code.

Discussion

SBObject subclasses use this method to implement application-specific property accessor methods. You should not need to call this method directly.

See Also

Getting Properties and Elements