System::Runtime::InteropServices::Marshal::GetDelegateForFunctionPointer método
Marshal::GetDelegateForFunctionPointer method
Convierte un puntero a función no administrado a un delegado de un tipo especificado.
template<typename TDelegate> static TDelegate System::Runtime::InteropServices::Marshal::GetDelegateForFunctionPointer(IntPtr ptr)
| Parámetro | Descripción |
|---|---|
| TDelegate | El tipo del delegado a devolver. |
| Parámetro | Tipo | Descripción |
|---|---|---|
| ptr | IntPtr | El puntero a función no administrado a convertir. |
ReturnValue
Una instancia del tipo de delegado especificado.
Observaciones
Un borrador aproximado para futura implementación
Ver también
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.PDF for C++