_MethodInfo Interfaccia

Definizione

Importante

Questa API non è conforme a CLS.

Espone i membri pubblici della classe MethodInfo a codice non gestito.

public interface class _MethodInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _MethodInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _MethodInfo
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _MethodInfo = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _MethodInfo = interface
Public Interface _MethodInfo
Derivato
Attributi

Commenti

Questa interfaccia è destinata all'accesso alle classi gestite da codice non gestito e non deve essere chiamata dal codice gestito.

Questa interfaccia mantiene l'ordine della tabella virtuale dei membri della System.Reflection.MethodInfo classe a cui è possibile accedere da oggetti COM non gestiti.

Proprietà

Attributes

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà Attributes.

CallingConvention

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà CallingConvention.

DeclaringType

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà DeclaringType.

IsAbstract

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsAbstract.

IsAssembly

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsAssembly.

IsConstructor

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsConstructor.

IsFamily

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsFamily.

IsFamilyAndAssembly

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsFamilyAndAssembly.

IsFamilyOrAssembly

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsFamilyOrAssembly.

IsFinal

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsFinal.

IsHideBySig

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsHideBySig.

IsPrivate

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsPrivate.

IsPublic

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsPublic.

IsSpecialName

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsSpecialName.

IsStatic

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsStatic.

IsVirtual

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsVirtual.

MemberType

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà MemberType.

MethodHandle

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà MethodHandle.

Name

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà Name.

ReflectedType

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà ReflectedType.

ReturnType

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà ReturnType.

ReturnTypeCustomAttributes

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà ReturnTypeCustomAttributes.

Metodi

Equals(Object)

Fornisce oggetti COM con accesso indipendente dalla versione al metodo Equals(Object).

GetBaseDefinition()

Fornisce oggetti COM con accesso indipendente dalla versione al metodo GetBaseDefinition().

GetCustomAttributes(Boolean)

Fornisce oggetti COM con accesso indipendente dalla versione al metodo GetCustomAttributes(Boolean).

GetCustomAttributes(Type, Boolean)

Fornisce oggetti COM con accesso indipendente dalla versione al metodo GetCustomAttributes(Type, Boolean).

GetHashCode()

Fornisce oggetti COM con accesso indipendente dalla versione al metodo GetHashCode().

GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Esegue il mapping di un set di nomi a un set corrispondente di ID dispatch.

GetMethodImplementationFlags()

Fornisce oggetti COM con accesso indipendente dalla versione al metodo GetMethodImplementationFlags().

GetParameters()

Fornisce oggetti COM con accesso indipendente dalla versione al metodo GetParameters().

GetType()

Fornisce oggetti COM con accesso indipendente dalla versione al metodo GetType().

GetTypeInfo(UInt32, UInt32, IntPtr)

Recupera le informazioni sul tipo relative a un oggetto, che possono essere usate per ottenere informazioni sul tipo relative a un'interfaccia.

GetTypeInfoCount(UInt32)

Recupera il numero delle interfacce di informazioni sul tipo fornite da un oggetto (0 o 1).

Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Fornisce oggetti COM con accesso indipendente dalla versione al metodo Invoke(Object, BindingFlags, Binder, Object[], CultureInfo).

Invoke(Object, Object[])

Fornisce oggetti COM con accesso indipendente dalla versione al metodo Invoke(Object, Object[]).

Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Fornisce l'accesso a proprietà e metodi esposti da un oggetto.

IsDefined(Type, Boolean)

Fornisce oggetti COM con accesso indipendente dalla versione al metodo IsDefined(Type, Boolean).

ToString()

Fornisce oggetti COM con accesso indipendente dalla versione al metodo ToString().

Si applica a