Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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,
	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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show:
© 2015 Microsoft