_Type.IsByRef 屬性

定義

為 COM 物件提供與版本無關的 IsByRef 屬性之存取權。Provides COM objects with version-independent access to the IsByRef property.

public:
 property bool IsByRef { bool get(); };
public bool IsByRef { get; }
member this.IsByRef : bool
Public ReadOnly Property IsByRef As Boolean

屬性值

如果 Type 是以傳址方式傳遞,則為 true,否則為 falsetrue if the Type is passed by reference; otherwise, false.

備註

這個屬性是用來從非受控程式碼存取 managed 類別,而且不應該從 managed 程式碼呼叫。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

Type.IsByRef屬性Type會取得值,指出是否以傳址方式傳遞。The Type.IsByRef property gets a value indicating whether the Type is passed by reference.

適用於