<?xml version="1.0" encoding="us-ascii"?><span> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>mono-api-type.html</title> <style type="text/css"> h3 { font-size: 18px; padding-bottom: 4pt; border-bottom: 2px solid #dddddd; } .api { border: 1px solid; padding: 10pt; margin: 10pt; } .api-entry { border-bottom: none; font-size: 18px; } .prototype { border: 1px solid; background-color: #f2f2f2; padding: 5pt; margin-top: 5pt; margin-bottom: 5pt; } .header { border: 1px solid; padding: 0 0 5pt 5pt; margin: 10pt; white-space: pre; font-family: monospace; } .code { border: 1px solid; padding: 0 0 5pt 5pt; margin: 10pt; white-space: pre; font-family: monospace; } </style> </head> <body> <a name="api:mono_type_create_from_typespec_full"></a> <div class="api"> <div class="api-entry">mono_type_create_from_typespec_full</div> <div class="prototype">Prototype: mono_type_create_from_typespec_full</div> <p /> </div> <a name="api:mono_type_create_from_typespec"></a> <div class="api"> <div class="api-entry">mono_type_create_from_typespec</div> <div class="prototype">Prototype: mono_type_create_from_typespec</div> <p /> </div> <a name="api:mono_type_full_name"></a> <div class="api"> <div class="api-entry">mono_type_full_name</div> <div class="prototype">Prototype: mono_type_full_name</div> <p /> </div> <a name="api:mono_type_get_array_type"></a> <div class="api"> <div class="api-entry">mono_type_get_array_type</div> <div class="prototype">MonoArrayType* mono_type_get_array_type (MonoType *type) </div> <p /> <b>Parameters</b> <blockquote><dt><i>type:</i></dt><dd> the MonoType operated on</dd></blockquote> <b>Returns</b> <blockquote> a MonoArrayType struct describing the array type that <i>type</i> represents. The info includes details such as rank, array element type and the sizes and bounds of multidimensional arrays.</blockquote> <b>Remarks</b> <p /> It is only valid to call this function if <i>type</i> is a MONO_TYPE_ARRAY. </div> <a name="api:mono_type_get_class"></a> <div class="api"> <div class="api-entry">mono_type_get_class</div> <div class="prototype">MonoClass* mono_type_get_class (MonoType *type) </div> <p /> <b>Parameters</b> <blockquote><dt><i>type:</i></dt><dd> the MonoType operated on</dd></blockquote> <b>Returns</b> <blockquote> the MonoClass pointer that describes the class that <i>type</i> represents. </blockquote> <b>Remarks</b> <p /> It is only valid to call this function if <i>type</i> is a MONO_TYPE_CLASS or a MONO_TYPE_VALUETYPE. For more general functionality, use mono_class_from_mono_type (), instead </div> <a name="api:mono_type_get_desc"></a> <div class="api"> <div class="api-entry">mono_type_get_desc</div> <div class="prototype">Prototype: mono_type_get_desc</div> <p /> </div> <a name="api:mono_type_get_full_name"></a> <div class="api"> <div class="api-entry">mono_type_get_full_name</div> <div class="prototype">char* mono_type_get_full_name (MonoClass *class) </div> <p /> <b>Parameters</b> <blockquote><dt><i>class:</i></dt><dd> a class</dd></blockquote> <b>Returns</b> <blockquote> the string representation for type as required by System.Reflection. The inverse of mono_reflection_parse_type ().</blockquote> </div> <a name="api:mono_type_get_modifiers"></a> <div class="api"> <div class="api-entry">mono_type_get_modifiers</div> <div class="prototype">Prototype: mono_type_get_modifiers</div> <p /> </div> <a name="api:mono_type_get_name"></a> <div class="api"> <div class="api-entry">mono_type_get_name</div> <div class="prototype">char* mono_type_get_name (MonoType *type) </div> <p /> <b>Parameters</b> <blockquote><dt><i>type:</i></dt><dd> a type</dd></blockquote> <b>Returns</b> <blockquote> the string representation for type as it would be represented in IL code. </blockquote> </div> <a name="api:mono_type_get_signature"></a> <div class="api"> <div class="api-entry">mono_type_get_signature</div> <div class="prototype">MonoMethodSignature* mono_type_get_signature (MonoType *type) </div> <p /> <b>Parameters</b> <blockquote><dt><i>type:</i></dt><dd> the MonoType operated on</dd></blockquote> <b>Returns</b> <blockquote> the MonoMethodSignature pointer that describes the signature of the function pointer <i>type</i> represents.</blockquote> <b>Remarks</b> <p /> It is only valid to call this function if <i>type</i> is a MONO_TYPE_FNPTR. </div> <a name="api:mono_type_get_type"></a> <div class="api"> <div class="api-entry">mono_type_get_type</div> <div class="prototype">int mono_type_get_type (MonoType *type) </div> <p /> <b>Parameters</b> <blockquote><dt><i>type:</i></dt><dd> the MonoType operated on</dd></blockquote> <b>Returns</b> <blockquote> the IL type value for <i>type</i>. This is one of the MonoTypeEnum enum members like MONO_TYPE_I4 or MONO_TYPE_STRING.</blockquote> </div> <a name="api:mono_type_get_underlying_type"></a> <div class="api"> <div class="api-entry">mono_type_get_underlying_type</div> <div class="prototype">Prototype: mono_type_get_underlying_type</div> <p /> </div> <a name="api:mono_type_initialization_init"></a> <div class="api"> <div class="api-entry">mono_type_initialization_init</div> <div class="prototype">Prototype: mono_type_initialization_init</div> <p /> </div> <a name="api:mono_type_is_byref"></a> <div class="api"> <div class="api-entry">mono_type_is_byref</div> <div class="prototype">gboolean mono_type_is_byref (MonoType *type) </div> <p /> <b>Parameters</b> <blockquote><dt><i>type:</i></dt><dd> the MonoType operated on</dd></blockquote> <b>Returns</b> <blockquote> <i>TRUE</i> if <i>type</i> represents a type passed by reference, <i>FALSE</i> otherwise.</blockquote> </div> <a name="api:mono_type_native_stack_size"></a> <div class="api"> <div class="api-entry">mono_type_native_stack_size</div> <div class="prototype">Prototype: mono_type_native_stack_size</div> <p /> </div> <a name="api:mono_type_size"></a> <div class="api"> <div class="api-entry">mono_type_size</div> <div class="prototype">Prototype: mono_type_size</div> <p /> </div> <a name="api:mono_type_stack_size"></a> <div class="api"> <div class="api-entry">mono_type_stack_size</div> <div class="prototype">Prototype: mono_type_stack_size</div> <p /> </div> <a name="api:mono_type_to_ldind"></a> <div class="api"> <div class="api-entry">mono_type_to_ldind</div> <div class="prototype">Prototype: mono_type_to_ldind</div> <p /> </div> <a name="api:mono_type_to_stind"></a> <div class="api"> <div class="api-entry">mono_type_to_stind</div> <div class="prototype">Prototype: mono_type_to_stind</div> <p /> </div> <a name="api:mono_type_to_unmanaged"></a> <div class="api"> <div class="api-entry">mono_type_to_unmanaged</div> <div class="prototype">guint32 mono_type_to_unmanaged (MonoType *type, MonoMarshalSpec *mspec, gboolean as_field, gboolean unicode, MonoMarshalConv *conv) </div> <p /> <b>Returns</b> <blockquote> A MonoMarshalNative enumeration value (MONO_NATIVE_) value describing the underlying native reprensetation of the type. <p /> In addition the value pointed by "conv" will contain the kind of marshalling required for this particular type one of the MONO_MARSHAL_CONV_ enumeration values.</blockquote> </div> <a name="api:mono_type_get_name_full"></a> <div class="api"> <div class="api-entry">mono_type_get_name_full</div> <div class="prototype">char* mono_type_get_name_full (MonoType *type, MonoTypeNameFormat format) </div> <p /> <b>Parameters</b> <blockquote><dt><i>type:</i></dt><dd> a type</dd><dt><i>format:</i></dt><dd> the format for the return string.</dd></blockquote> <b>Returns</b> <blockquote> the string representation in a number of formats: if format is MONO_TYPE_NAME_FORMAT_REFLECTION, the return string is returned in the formatrequired by System.Reflection, this is the inverse of mono_reflection_parse_type (). if format is MONO_TYPE_NAME_FORMAT_IL, it returns a syntax that can be used by the IL assembler. if format is MONO_TYPE_NAME_FORMAT_FULL_NAME if format is MONO_TYPE_NAME_FORMAT_ASSEMBLY_QUALIFIED</blockquote> <b>Remarks</b> <p /> <p /> </div></body> </html> </span>