ParameterBuilder.SetMarshal メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

<ObsoleteAttribute("An alternate API is available: Emit the MarshalAs custom attribute instead. http://go.microsoft.com/fwlink/?linkid=14202")> _ Public Overridable Sub SetMarshal ( _ unmanagedMarshal As UnmanagedMarshal _ )
Dim instance As ParameterBuilder Dim unmanagedMarshal As UnmanagedMarshal instance.SetMarshal(unmanagedMarshal)
[ObsoleteAttribute("An alternate API is available: Emit the MarshalAs custom attribute instead. http://go.microsoft.com/fwlink/?linkid=14202")] public virtual void SetMarshal ( UnmanagedMarshal unmanagedMarshal )
[ObsoleteAttribute(L"An alternate API is available: Emit the MarshalAs custom attribute instead. http://go.microsoft.com/fwlink/?linkid=14202")] public: virtual void SetMarshal ( UnmanagedMarshal^ unmanagedMarshal )
/** @attribute ObsoleteAttribute("An alternate API is available: Emit the MarshalAs custom attribute instead. http://go.microsoft.com/fwlink/?linkid=14202") */ public void SetMarshal ( UnmanagedMarshal unmanagedMarshal )
ObsoleteAttribute("An alternate API is available: Emit the MarshalAs custom attribute instead. http://go.microsoft.com/fwlink/?linkid=14202") public function SetMarshal ( unmanagedMarshal : UnmanagedMarshal )


このメソッドは、次の例外をスローする必要がありますが、現在はスローしません。
格納している型が TypeBuilder.CreateType() を使用して作成されている場合は InvalidOperationException。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- ParameterBuilder.SetMarshal メソッドのページへのリンク