NSPasteboardDetectionPattern Enum
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.
Specifies a kind of content to detect in pasteboard items.
public enum NSPasteboardDetectionPattern
type NSPasteboardDetectionPattern =
- Inheritance
-
NSPasteboardDetectionPattern
Fields
| Name | Value | Description |
|---|---|---|
| ProbableWebUrl | 0 | Detects text that is likely to be a web URL. |
| ProbableWebSearch | 1 | Detects text that is likely to be a web search query. |
| Number | 2 | Detects numbers. |
| Link | 3 | Detects links. |
| PhoneNumber | 4 | Detects phone numbers. |
| EmailAddress | 5 | Detects email addresses. |
| PostalAddress | 6 | Detects postal addresses. |
| CalendarEvent | 7 | Detects calendar events. |
| ShipmentTrackingNumber | 8 | Detects shipment tracking numbers. |
| FlightNumber | 9 | Detects flight numbers. |
| MoneyAmount | 10 | Detects monetary amounts. |