EnumerableToDispatchMarshaler.GetNativeDataSize Método

Definição

Retorna o tamanho em bytes dos dados não gerenciados a serem empacotados.

public:
 override int GetNativeDataSize();
public:
 virtual int GetNativeDataSize();
public override int GetNativeDataSize();
public virtual int GetNativeDataSize();
abstract member GetNativeDataSize : unit -> int
override this.GetNativeDataSize : unit -> int
Public Overrides Function GetNativeDataSize () As Integer
Public Overridable Function GetNativeDataSize () As Integer

Retornos

-1 para indicar o tipo que este marshaler manipula não é um tipo de valor.

Implementações

Comentários

Como não há suporte para marshaling personalizado de tipos de valor no .NET Framework, esse método sempre retorna -1.

Aplica-se a