Skip to content

Commit 9c874a3

Browse files
authored
Minor updates for auto_gcroot class reference
1 parent 45dc7c4 commit 9c874a3

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

docs/dotnet/auto-gcroot-class.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
2-
description: "Learn more about: auto_gcroot Class"
32
title: "auto_gcroot Class"
3+
description: "Learn more about: auto_gcroot Class"
44
ms.date: "01/16/2019"
55
ms.topic: "reference"
66
f1_keywords: ["msclr::auto_gcroot::auto_gcroot", "msclr::auto_gcroot::attach", "msclr::auto_gcroot::get", "msclr::auto_gcroot::release", "msclr::auto_gcroot::reset", "msclr::auto_gcroot::swap", "msclr::auto_gcroot::operator=", "msclr::auto_gcroot::operator->", "msclr::auto_gcroot::operator!", "msclr::auto_gcroot::operator auto_gcroot"]
77
helpviewer_keywords: ["msclr::auto_gcroot"]
8-
ms.assetid: b5790912-265d-463e-a486-47302e91042a
98
---
109
# auto_gcroot Class
1110

@@ -20,7 +19,7 @@ class auto_gcroot;
2019

2120
### Parameters
2221

23-
*_element_type*<br/>
22+
*_element_type*\
2423
The managed type to be embedded.
2524

2625
## Members
@@ -77,10 +76,10 @@ auto_gcroot(
7776

7877
### Parameters
7978

80-
*_ptr*<br/>
79+
*_ptr*\
8180
The object to own.
8281

83-
*_right*<br/>
82+
*_right*\
8483
An existing `auto_gcroot`.
8584

8685
### Remarks
@@ -240,7 +239,7 @@ auto_gcroot<_element_type> & attach(
240239

241240
### Parameters
242241

243-
*_right*<br/>
242+
*_right*\
244243
The object to attach, or an `auto_gcroot` containing the object to attach.
245244

246245
### Return value
@@ -451,7 +450,7 @@ void reset(
451450

452451
### Parameters
453452

454-
*_new_ptr*<br/>
453+
*_new_ptr*\
455454
(Optional) The new object.
456455

457456
### Example
@@ -516,7 +515,7 @@ void swap(
516515

517516
### Parameters
518517

519-
*_right*<br/>
518+
*_right*\
520519
The `auto_gcroot` with which to swap objects.
521520

522521
### Example
@@ -614,7 +613,7 @@ auto_gcroot<_element_type> & operator=(
614613

615614
### Parameters
616615

617-
*_right*<br/>
616+
*_right*\
618617
The object or `auto_gcroot` to be assigned to the current `auto_gcroot`.
619618

620619
### Return value

0 commit comments

Comments
 (0)