UIPasteboard.SetValue(NSObject, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the value for the specified representation type in this UIPasteBoard.
[Foundation.Export("setValue:forPasteboardType:")]
public virtual void SetValue (Foundation.NSObject value, string pasteboardType);
abstract member SetValue : Foundation.NSObject * string -> unit
override this.SetValue : Foundation.NSObject * string -> unit
Parameters
- value
- NSObject
- Attributes
Remarks
This method can be used to set the pasteboard contents to an NSString, NSArray, NSDictionary, NSDate, NSNumber, UIImage or NSUrl.
To set an image use the P:UIKit.UIPasteBoard.Image property. To set the pasteboard contents to a set of images, use the Images property.