INSPasteboardReading.CreateInstance 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.
Overloads
| Name | Description |
|---|---|
| CreateInstance<T>(NSObject, NSPasteboardType) | |
| CreateInstance<T>(NSObject, NSString) |
CreateInstance<T>(NSObject, NSPasteboardType)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public static T? CreateInstance<T>(Foundation.NSObject propertyList, AppKit.NSPasteboardType type) where T : Foundation.NSObject, AppKit.INSPasteboardReading;
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateInstance : Foundation.NSObject * AppKit.NSPasteboardType -> 'T (requires 'T :> Foundation.NSObject and 'T :> AppKit.INSPasteboardReading)
Type Parameters
- T
Parameters
- propertyList
- NSObject
- type
- NSPasteboardType
Returns
T
- Attributes
Applies to
CreateInstance<T>(NSObject, NSString)
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static T? CreateInstance<T>(Foundation.NSObject propertyList, Foundation.NSString type) where T : Foundation.NSObject, AppKit.INSPasteboardReading;
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateInstance : Foundation.NSObject * Foundation.NSString -> 'T (requires 'T :> Foundation.NSObject and 'T :> AppKit.INSPasteboardReading)
Type Parameters
- T
Parameters
- propertyList
- NSObject
- type
- NSString
Returns
T
- Attributes