---
UID: NF:directxpackedvector.XMUBYTEN4.operator-assign(XMUBYTEN4 &&)
title: XMUBYTEN4::operator=
description: Assigns the vector component data from one instance of XMUBYTEN4 to the current instance of XMUBYTEN4.
ms.assetid: 6095451c-bc47-4d4f-890e-9fd752e29515
ms.date: 05/20/2019
ms.keywords: XMUBYTEN4::operator=
f1_keywords:
- directxpackedvector/XMUBYTEN4::operator=
dev_langs:
- c++
targetos: Windows
req.assembly: 
req.construct-type: function
req.ddi-compliance: 
req.dll: 
req.header: directxpackedvector.h
req.idl: 
req.include-header: 
req.irql: 
req.kmdf-ver: 
req.lib: 
req.max-support: 
req.namespace: 
req.redist: 
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.target-type: 
req.type-library: 
req.umdf-ver: 
req.unicode-ansi: 
topic_type:
- apiref
api_type:
- 
api_location:
- directxpackedvector.h
api_name:
- XMUBYTEN4::operator=
---

# XMUBYTEN4::operator = 

## -description

Assigns the vector component data from one instance of <a href="https://docs.microsoft.com/windows/desktop/api/directxpackedvector/ns-directxpackedvector-xmubyten4">XMUBYTEN4</a> to the current instance of **XMUBYTEN4**.

This operator assigns the vector component data from one instance of **XMUBYTEN4** to the current instance of **XMUBYTEN4**.

<div class="alert"><b>Note</b>  This operator is only available under C++.</div>

## -parameters

### -param arg1

Instance of **XMUBYTEN4** used to update the current **XMUBYTEN4** structure.

## -returns

The current instance of **XMUBYTEN4** whose vector component data has been updated to match those of the **XMUBYTEN4** instance specified by the argument.

## -remarks

## -see-also

<a href="https://docs.microsoft.com/windows/desktop/api/directxpackedvector/ns-directxpackedvector-xmubyten4">XMUBYTEN4</a>
