API Reference > ecSchema-Metadata > Metadata > Schema > createStructClass createStructClass MethodProtected Creates a StructClass with the provided name in this schema. createStructClass(name: string, modifier?: ECClassModifier): Promise<StructClass> Parameter Type Description name string modifier ECClassModifier Returns - Promise<StructClass> Defined in core/ecschema-metadata/src/Metadata/Schema.ts Line 195 Last Updated: 12 June, 2024