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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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,
	byte d,
	byte e,
	byte f,
	byte g,
	byte h,
	byte i,
	byte j,
	byte 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: