API Reference > ecschema-Metadata > Metadata > ECClass > createStructProperty createStructProperty MethodProtected createStructProperty(name: string, structType: string | StructClass): Promise<StructProperty> Parameter Type Description name string The name of property to create. structType string | StructClass The struct type of property to create. Returns - Promise<StructProperty> Defined in core/ecschema-metadata/src/Metadata/Class.ts Line 214 Last Updated: 11 June, 2024