EnumerableToDispatchMarshaler.GetInstance Method (String)

 

Returns an instance of the custom marshaler.

Namespace:   System.Runtime.InteropServices.CustomMarshalers
Assembly:  CustomMarshalers (in CustomMarshalers.dll)

public static ICustomMarshaler GetInstance(
	string pstrCookie
)

Parameters

pstrCookie
Type: System.String

String "cookie" parameter that can be used by the custom marshaler.

Return Value

Type: System.Runtime.InteropServices.ICustomMarshaler

An instance of the custom marshaler.

All custom marshalers must implement this method, although it is not part of the ICustomMarshaler interface definition.

.NET Framework
Available since 1.1
Return to top
Show: