ContentType::findName Method

Finds the ContentType record by using the specified name.

Syntax

client server public static ContentType findName(ContentTypeName _name, [boolean _forUpdate])

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    A Boolean value that indicates whether to select the record for update.

Return Value

Type: ContentType Table
A target ContentType record that has the specified name.

See Also

Reference

ContentType Table