共用方式為


RuntimeHelpers.Box(Byte, RuntimeTypeHandle) 方法

定義

public:
 static System::Object ^ Box(System::Byte % target, RuntimeTypeHandle type);
public static object? Box (ref byte target, RuntimeTypeHandle type);
static member Box : byte * RuntimeTypeHandle -> obj
Public Shared Function Box (ByRef target As Byte, type As RuntimeTypeHandle) As Object

參數

target
Byte

傳回

適用於