diff --git a/api/@ohos.pasteboard.d.ts b/api/@ohos.pasteboard.d.ts index 51ce0992621b6d4a17560a99c48a5446479c5cd7..b5bafed858ce7803ea7f8dc82b563bad67146a14 100644 --- a/api/@ohos.pasteboard.d.ts +++ b/api/@ohos.pasteboard.d.ts @@ -310,6 +310,14 @@ declare namespace pasteboard { */ getProperty(): PasteDataProperty; + /** + * Set PasteDataProperty to a PasteData object. + * @param { PasteDataProperty } property - save property to PasteData object. + * @throws { TypedError } if property not a PasteDataProperty object. + * @since 9 + */ + setProperty(property: PasteDataProperty): void; + /** * a Record based on a specified index. * @param index The index to specify the content item