## WeakReference< T >::SetTarget method


현재 [WeakReference](../../weakreference/) 객체가 참조하는 객체(대상)를 설정합니다.

```cpp
void System::WeakReference<T>::SetTarget(const SmartPtr<T> &data)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| data | const SmartPtr\<T\>\& | [Object](../../object/) 설정 대상. |

## 또 보기

* Class [SmartPtr](../../smartptr/)
* Class [WeakReference< T >](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
