IDLFLAG 列舉

定義

描述如何在處理序之間傳輸結構項目、參數或函式傳回值。Describes how to transfer a structure element, parameter, or function return value between processes.

此列舉具有 FlagsAttribute 個屬性允許以位元方式合併其成員值。

public enum class IDLFLAG
[System.Flags]
[System.Serializable]
public enum IDLFLAG
type IDLFLAG = 
Public Enum IDLFLAG
繼承
屬性

欄位

IDLFLAG_FIN 1

參數從呼叫端傳遞資訊到被呼叫端。The parameter passes information from the caller to the callee.

IDLFLAG_FLCID 4

參數為用戶端應用程式的區域識別項。The parameter is the local identifier of a client application.

IDLFLAG_FOUT 2

參數從被呼叫端傳回資訊到呼叫端。The parameter returns information from the callee to the caller.

IDLFLAG_FRETVAL 8

參數為成員的傳回值。The parameter is the return value of the member.

IDLFLAG_NONE 0

沒有指定參數是傳送或接收資訊。Does not specify whether the parameter passes or receives information.

備註

當原生程式碼中的 COM 方法傳回 HRESULT 時,common language runtime 會擲回例外狀況。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 如需詳細資訊,請參閱 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

適用於