PointerArrayMarshaller<T,TUnmanagedElement> Classe
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Importante
Esta API não está em conformidade com CLS.
Representa um marshaller para um array de ponteiros.
generic <typename T, typename TUnmanagedElement>
where T : value class where TUnmanagedElement : value classpublic ref class PointerArrayMarshaller abstract sealed
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshaller]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder*[]), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.PointerArrayMarshaller<,>))]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder*[]), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.PointerArrayMarshaller<,>+ManagedToUnmanagedIn))]
public static class PointerArrayMarshaller<T,TUnmanagedElement> where T : struct where TUnmanagedElement : struct
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshaller>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder*[]), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.PointerArrayMarshaller<,>))>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder*[]), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.PointerArrayMarshaller<,>+ManagedToUnmanagedIn))>]
type PointerArrayMarshaller<'T, 'UnmanagedElement (requires 'T : struct and 'UnmanagedElement : struct)> = class
Public Class PointerArrayMarshaller(Of T, TUnmanagedElement)
Parâmetros de Tipo Genérico
- T
O tipo de apontador de elemento do array.
- TUnmanagedElement
O tipo não gerido para o tipo de ponteiro de elemento.
- Herança
-
PointerArrayMarshaller<T,TUnmanagedElement>
- Atributos
Métodos
| Name | Description |
|---|---|
| AllocateContainerForManagedElements(TUnmanagedElement*, Int32) |
Aloca memória para a representação gerida do array. |
| AllocateContainerForUnmanagedElements(T*[], Int32) |
Aloca memória para a representação não gerida do array. |
| Free(TUnmanagedElement*) |
Liberta memória para a matriz não gerida. |
| GetManagedValuesDestination(T*[]) |
Obtém um destino para os elementos geridos no array. |
| GetManagedValuesSource(T*[]) |
Obtém uma fonte para os elementos geridos no array. |
| GetUnmanagedValuesDestination(TUnmanagedElement*, Int32) |
Obtém um destino para os elementos não geridos no array. |
| GetUnmanagedValuesSource(TUnmanagedElement*, Int32) |
Obtém uma fonte para os elementos não geridos no array. |