UIKit.UIPasteboard.SetValue Method
Sets the value for the specified representation type in this UIPasteBoard.

Syntax

[Foundation.Export("setValue:forPasteboardType:")]
public virtual void SetValue (Foundation.NSObject value, string pasteboardType)

Parameters

value
Documentation for this section has not yet been entered.
pasteboardType
The pasteboard type, one of the constants in MobileCoreServices.UTType constants.

Remarks

This method can be used to set the pasteboard contents to an Foundation.NSString, Foundation.NSArray, Foundation.NSDictionary, Foundation.NSDate, Foundation.NSNumber, UIKit.UIImage or Foundation.NSUrl.

To set an image use the UIPasteBoard.Image property. To set the pasteboard contents to a set of images, use the UIPasteBoard.Images property.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0