SqlGuid Constructor (Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)

 

Initializes a new instance of the SqlGuid structure using the specified values.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public:
SqlGuid(
	int a,
	short b,
	short c,
	unsigned char d,
	unsigned char e,
	unsigned char f,
	unsigned char g,
	unsigned char h,
	unsigned char i,
	unsigned char j,
	unsigned char k
)

Parameters

a
Type: System::Int32

The first four bytes of the SqlGuid.

b
Type: System::Int16

The next two bytes of the SqlGuid.

c
Type: System::Int16

The next two bytes of the SqlGuid.

d
Type: System::Byte

The next byte of the SqlGuid.

e
Type: System::Byte

The next byte of the SqlGuid.

f
Type: System::Byte

The next byte of the SqlGuid.

g
Type: System::Byte

The next byte of the SqlGuid.

h
Type: System::Byte

The next byte of the SqlGuid.

i
Type: System::Byte

The next byte of the SqlGuid.

j
Type: System::Byte

The next byte of the SqlGuid.

k
Type: System::Byte

The next byte of the SqlGuid.

Specifying individual bytes in this manner can be used to circumvent byte order restrictions (big-endian or little-endian byte order) on particular types of computers.

.NET Framework
Available since 1.1
Return to top
Show: