SqlBinary.WrapBytes(Byte[]) 메서드

정의

바이트 배열을 구조체로 SqlBinary 변환합니다.

public:
 static System::Data::SqlTypes::SqlBinary WrapBytes(cli::array <System::Byte> ^ bytes);
public static System.Data.SqlTypes.SqlBinary WrapBytes (byte[] bytes);
static member WrapBytes : byte[] -> System.Data.SqlTypes.SqlBinary
Public Shared Function WrapBytes (bytes As Byte()) As SqlBinary

매개 변수

bytes
Byte[]

구조를 만드는 데 사용할 바이트 배열입니다 SqlBinary .

반환

SqlBinary 바이트 배열에서 만든 구조체입니다.

설명

이 메서드는 SqlBinary 전달된 바이트 배열에서 직접 구조를 만들어 복사본을 만들지 않고 만듭니다.

적용 대상