TypeConverter.ToNative(Type) Method

Definition

Converts a managed Type into the corresponding Objective-C type encoding.

public static string ToNative(Type type);
static member ToNative : Type -> string

Parameters

type
Type

The managed Type.

Returns

The Objective-C type encoding.

Remarks

For example, TypeConverter.ToNative (typeof (int)) returns "i".

Applies to