Instance Method

clearContents

Clears the existing contents of the pasteboard

Declaration

- (NSInteger)clearContents;

Return Value

The change count of the receiver.

Discussion

Clears the existing contents of the pasteboard, preparing it for new contents. This is the first step in providing data on the pasteboard.

See Also

Writing Data

- writeObjects:

Writes an array of objects to the receiver.

- setData:forType:

Sets the given data as the representation for the specified type for the first item on the receiver.

- setPropertyList:forType:

Sets the given property list as the representation for the specified type for the first item on the receiver.

- setString:forType:

Sets the given string as the representation for the specified type for the first item on the receiver.