# Vector128.ShiftRightLogical Method

## Definition

Important

Some information relates to prerelease product that may be substantially modified before itâ€™s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

## Overloads

ShiftRightLogical(Vector128<UIntPtr>, Int32) |
Shifts (unsigned) each element of a vector right by the specified amount. |

ShiftRightLogical(Vector128<UInt64>, Int32) |
Shifts (unsigned) each element of a vector right by the specified amount. |

ShiftRightLogical(Vector128<UInt32>, Int32) |
Shifts (unsigned) each element of a vector right by the specified amount. |

ShiftRightLogical(Vector128<UInt16>, Int32) |
Shifts (unsigned) each element of a vector right by the specified amount. |

ShiftRightLogical(Vector128<SByte>, Int32) |
Shifts (unsigned) each element of a vector right by the specified amount. |

ShiftRightLogical(Vector128<Int16>, Int32) |
Shifts (unsigned) each element of a vector right by the specified amount. |

ShiftRightLogical(Vector128<Int64>, Int32) |
Shifts (unsigned) each element of a vector right by the specified amount. |

ShiftRightLogical(Vector128<Int32>, Int32) |
Shifts (unsigned) each element of a vector right by the specified amount. |

ShiftRightLogical(Vector128<Byte>, Int32) |
Shifts (unsigned) each element of a vector right by the specified amount. |

ShiftRightLogical(Vector128<IntPtr>, Int32) |
Shifts (unsigned) each element of a vector right by the specified amount. |

## ShiftRightLogical(Vector128<UIntPtr>, Int32)

Important

This API is not CLS-compliant.

Shifts (unsigned) each element of a vector right by the specified amount.

```
public:
static System::Runtime::Intrinsics::Vector128<UIntPtr> ShiftRightLogical(System::Runtime::Intrinsics::Vector128<UIntPtr> vector, int shiftCount);
```

```
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<UIntPtr> ShiftRightLogical (System.Runtime.Intrinsics.Vector128<UIntPtr> vector, int shiftCount);
```

```
[<System.CLSCompliant(false)>]
static member ShiftRightLogical : System.Runtime.Intrinsics.Vector128<unativeint> * int -> System.Runtime.Intrinsics.Vector128<unativeint>
```

`Public Function ShiftRightLogical (vector As Vector128(Of UIntPtr), shiftCount As Integer) As Vector128(Of UIntPtr)`

#### Parameters

- shiftCount
- Int32

The number of bits by which to shift each element.

#### Returns

A vector whose elements where shifted right by `shiftCount`

.

- Attributes

### Applies to

## ShiftRightLogical(Vector128<UInt64>, Int32)

Important

This API is not CLS-compliant.

Shifts (unsigned) each element of a vector right by the specified amount.

```
public:
static System::Runtime::Intrinsics::Vector128<System::UInt64> ShiftRightLogical(System::Runtime::Intrinsics::Vector128<System::UInt64> vector, int shiftCount);
```

```
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ulong> ShiftRightLogical (System.Runtime.Intrinsics.Vector128<ulong> vector, int shiftCount);
```

```
[<System.CLSCompliant(false)>]
static member ShiftRightLogical : System.Runtime.Intrinsics.Vector128<uint64> * int -> System.Runtime.Intrinsics.Vector128<uint64>
```

`Public Function ShiftRightLogical (vector As Vector128(Of ULong), shiftCount As Integer) As Vector128(Of ULong)`

#### Parameters

- shiftCount
- Int32

The number of bits by which to shift each element.

#### Returns

A vector whose elements where shifted right by `shiftCount`

.

- Attributes

### Applies to

## ShiftRightLogical(Vector128<UInt32>, Int32)

Important

This API is not CLS-compliant.

Shifts (unsigned) each element of a vector right by the specified amount.

```
public:
static System::Runtime::Intrinsics::Vector128<System::UInt32> ShiftRightLogical(System::Runtime::Intrinsics::Vector128<System::UInt32> vector, int shiftCount);
```

```
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<uint> ShiftRightLogical (System.Runtime.Intrinsics.Vector128<uint> vector, int shiftCount);
```

```
[<System.CLSCompliant(false)>]
static member ShiftRightLogical : System.Runtime.Intrinsics.Vector128<uint32> * int -> System.Runtime.Intrinsics.Vector128<uint32>
```

`Public Function ShiftRightLogical (vector As Vector128(Of UInteger), shiftCount As Integer) As Vector128(Of UInteger)`

#### Parameters

- shiftCount
- Int32

The number of bits by which to shift each element.

#### Returns

A vector whose elements where shifted right by `shiftCount`

.

- Attributes

### Applies to

## ShiftRightLogical(Vector128<UInt16>, Int32)

Important

This API is not CLS-compliant.

Shifts (unsigned) each element of a vector right by the specified amount.

```
public:
static System::Runtime::Intrinsics::Vector128<System::UInt16> ShiftRightLogical(System::Runtime::Intrinsics::Vector128<System::UInt16> vector, int shiftCount);
```

```
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ushort> ShiftRightLogical (System.Runtime.Intrinsics.Vector128<ushort> vector, int shiftCount);
```

```
[<System.CLSCompliant(false)>]
static member ShiftRightLogical : System.Runtime.Intrinsics.Vector128<uint16> * int -> System.Runtime.Intrinsics.Vector128<uint16>
```

`Public Function ShiftRightLogical (vector As Vector128(Of UShort), shiftCount As Integer) As Vector128(Of UShort)`

#### Parameters

- shiftCount
- Int32

The number of bits by which to shift each element.

#### Returns

A vector whose elements where shifted right by `shiftCount`

.

- Attributes

### Applies to

## ShiftRightLogical(Vector128<SByte>, Int32)

Important

This API is not CLS-compliant.

Shifts (unsigned) each element of a vector right by the specified amount.

```
public:
static System::Runtime::Intrinsics::Vector128<System::SByte> ShiftRightLogical(System::Runtime::Intrinsics::Vector128<System::SByte> vector, int shiftCount);
```

```
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<sbyte> ShiftRightLogical (System.Runtime.Intrinsics.Vector128<sbyte> vector, int shiftCount);
```

```
[<System.CLSCompliant(false)>]
static member ShiftRightLogical : System.Runtime.Intrinsics.Vector128<sbyte> * int -> System.Runtime.Intrinsics.Vector128<sbyte>
```

`Public Function ShiftRightLogical (vector As Vector128(Of SByte), shiftCount As Integer) As Vector128(Of SByte)`

#### Parameters

- shiftCount
- Int32

The number of bits by which to shift each element.

#### Returns

A vector whose elements where shifted right by `shiftCount`

.

- Attributes

### Applies to

## ShiftRightLogical(Vector128<Int16>, Int32)

Shifts (unsigned) each element of a vector right by the specified amount.

```
public:
static System::Runtime::Intrinsics::Vector128<short> ShiftRightLogical(System::Runtime::Intrinsics::Vector128<short> vector, int shiftCount);
```

`public static System.Runtime.Intrinsics.Vector128<short> ShiftRightLogical (System.Runtime.Intrinsics.Vector128<short> vector, int shiftCount);`

`static member ShiftRightLogical : System.Runtime.Intrinsics.Vector128<int16> * int -> System.Runtime.Intrinsics.Vector128<int16>`

`Public Function ShiftRightLogical (vector As Vector128(Of Short), shiftCount As Integer) As Vector128(Of Short)`

#### Parameters

- shiftCount
- Int32

The number of bits by which to shift each element.

#### Returns

A vector whose elements where shifted right by `shiftCount`

.

### Applies to

## ShiftRightLogical(Vector128<Int64>, Int32)

Shifts (unsigned) each element of a vector right by the specified amount.

```
public:
static System::Runtime::Intrinsics::Vector128<long> ShiftRightLogical(System::Runtime::Intrinsics::Vector128<long> vector, int shiftCount);
```

`public static System.Runtime.Intrinsics.Vector128<long> ShiftRightLogical (System.Runtime.Intrinsics.Vector128<long> vector, int shiftCount);`

`static member ShiftRightLogical : System.Runtime.Intrinsics.Vector128<int64> * int -> System.Runtime.Intrinsics.Vector128<int64>`

`Public Function ShiftRightLogical (vector As Vector128(Of Long), shiftCount As Integer) As Vector128(Of Long)`

#### Parameters

- shiftCount
- Int32

The number of bits by which to shift each element.

#### Returns

A vector whose elements where shifted right by `shiftCount`

.

### Applies to

## ShiftRightLogical(Vector128<Int32>, Int32)

Shifts (unsigned) each element of a vector right by the specified amount.

```
public:
static System::Runtime::Intrinsics::Vector128<int> ShiftRightLogical(System::Runtime::Intrinsics::Vector128<int> vector, int shiftCount);
```

`public static System.Runtime.Intrinsics.Vector128<int> ShiftRightLogical (System.Runtime.Intrinsics.Vector128<int> vector, int shiftCount);`

`static member ShiftRightLogical : System.Runtime.Intrinsics.Vector128<int> * int -> System.Runtime.Intrinsics.Vector128<int>`

`Public Function ShiftRightLogical (vector As Vector128(Of Integer), shiftCount As Integer) As Vector128(Of Integer)`

#### Parameters

- shiftCount
- Int32

The number of bits by which to shift each element.

#### Returns

A vector whose elements where shifted right by `shiftCount`

.

### Applies to

## ShiftRightLogical(Vector128<Byte>, Int32)

Shifts (unsigned) each element of a vector right by the specified amount.

```
public:
static System::Runtime::Intrinsics::Vector128<System::Byte> ShiftRightLogical(System::Runtime::Intrinsics::Vector128<System::Byte> vector, int shiftCount);
```

`public static System.Runtime.Intrinsics.Vector128<byte> ShiftRightLogical (System.Runtime.Intrinsics.Vector128<byte> vector, int shiftCount);`

`static member ShiftRightLogical : System.Runtime.Intrinsics.Vector128<byte> * int -> System.Runtime.Intrinsics.Vector128<byte>`

`Public Function ShiftRightLogical (vector As Vector128(Of Byte), shiftCount As Integer) As Vector128(Of Byte)`

#### Parameters

- shiftCount
- Int32

The number of bits by which to shift each element.

#### Returns

A vector whose elements where shifted right by `shiftCount`

.

### Applies to

## ShiftRightLogical(Vector128<IntPtr>, Int32)

Shifts (unsigned) each element of a vector right by the specified amount.

```
public:
static System::Runtime::Intrinsics::Vector128<IntPtr> ShiftRightLogical(System::Runtime::Intrinsics::Vector128<IntPtr> vector, int shiftCount);
```

`public static System.Runtime.Intrinsics.Vector128<IntPtr> ShiftRightLogical (System.Runtime.Intrinsics.Vector128<IntPtr> vector, int shiftCount);`

`static member ShiftRightLogical : System.Runtime.Intrinsics.Vector128<nativeint> * int -> System.Runtime.Intrinsics.Vector128<nativeint>`

`Public Function ShiftRightLogical (vector As Vector128(Of IntPtr), shiftCount As Integer) As Vector128(Of IntPtr)`

#### Parameters

- shiftCount
- Int32

The number of bits by which to shift each element.

#### Returns

A vector whose elements where shifted right by `shiftCount`

.