Język

TypeToTypeInfoMarshaler.GetInstance(String) Metoda

Definicja

Zwraca wystąpienie marshalera niestandardowego.

public:
 static System::Runtime::InteropServices::ICustomMarshaler ^ GetInstance(System::String ^ pstrCookie);
public static System.Runtime.InteropServices.ICustomMarshaler GetInstance(string pstrCookie);
static member GetInstance : string -> System.Runtime.InteropServices.ICustomMarshaler
Public Shared Function GetInstance (pstrCookie As String) As ICustomMarshaler

Parametry

pstrCookie
String

Parametr "cookie", który może być używany przez marshaler niestandardowy.

Zwraca

Wystąpienie marshalera niestandardowego.

Uwagi

Wszystkie niestandardowe marshalery muszą zaimplementować tę metodę, chociaż nie jest częścią definicji interfejsu ICustomMarshaler .

Dotyczy