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