Przeczytaj w języku angielskim

Udostępnij za pośrednictwem


Vector<T>.BitwiseOr(Vector<T>, Vector<T>) Operator

Definicja

Zwraca nowy wektor, wykonując bitową Or operację na każdym z elementów w dwóch wektorach.

public:
 static System::Numerics::Vector<T> operator |(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static System.Numerics.Vector<T> operator |(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member ( ||| ) : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)>
static member ( ||| ) : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Operator Or (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)

Parametry

left
Vector<T>

Pierwszy wektor.

right
Vector<T>

Drugi wektor.

Zwraca

Wektor, który wynika z bitowego ruchu Or elementów w left elementach i right.

Wyjątki

.NET 5 i nowsze: typ T nie jest obsługiwany.

Uwagi

Metoda BitwiseOr definiuje operację bitową Or dla Vector<T> obiektów.

Dotyczy

Produkt Wersje
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0