NSString.DetectStringEncoding 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
DetectStringEncoding(NSData, EncodingDetectionOptions, String, Boolean) | |
DetectStringEncoding(NSData, NSDictionary, String, Boolean) |
DetectStringEncoding(NSData, EncodingDetectionOptions, String, Boolean)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static nuint DetectStringEncoding (Foundation.NSData rawData, Foundation.EncodingDetectionOptions options, out string convertedString, out bool usedLossyConversion);
static member DetectStringEncoding : Foundation.NSData * Foundation.EncodingDetectionOptions * * -> nuint
Parameters
- rawData
- NSData
- options
- EncodingDetectionOptions
- convertedString
- String
- usedLossyConversion
- Boolean
Returns
System.System.UIntPtr
System.unativeint
- Attributes
Applies to
DetectStringEncoding(NSData, NSDictionary, String, Boolean)
[Foundation.Export("stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static nuint DetectStringEncoding (Foundation.NSData rawData, Foundation.NSDictionary options, out string convertedString, out bool usedLossyConversion);
static member DetectStringEncoding : Foundation.NSData * Foundation.NSDictionary * * -> nuint
Parameters
- rawData
- NSData
- options
- NSDictionary
- convertedString
- String
- usedLossyConversion
- Boolean
Returns
System.System.UIntPtr
System.unativeint
- Attributes