---
UID: NF:d2d1svg.ID2D1SvgElement.GetLastChild
title: ID2D1SvgElement::GetLastChild (d2d1svg.h)
description: Gets the last child of this element.
old-location: direct2d\id2d1svgelement_getlastchild.htm
tech.root: Direct2D
ms.assetid: DA100037-7177-4547-B161-D52E059A5F35
ms.date: 12/05/2018
ms.keywords: GetLastChild, GetLastChild method [Direct2D], GetLastChild method [Direct2D],ID2D1SvgElement interface, ID2D1SvgElement interface [Direct2D],GetLastChild method, ID2D1SvgElement.GetLastChild, ID2D1SvgElement::GetLastChild, d2d1svg/ID2D1SvgElement::GetLastChild, direct2d.id2d1svgelement_getlastchild
f1_keywords:
- d2d1svg/ID2D1SvgElement.GetLastChild
dev_langs:
- c++
req.header: d2d1svg.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: Direct2d.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- direct2d.dll
api_name:
- ID2D1SvgElement.GetLastChild
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID2D1SvgElement::GetLastChild


## -description


Gets the last child of this element.


## -parameters




### -param child [out]

Type: <b>ID2D1SvgElement**</b>

Outputs the last child of this element.


## -returns



This method does not return a value.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/d2d1svg/nn-d2d1svg-id2d1svgelement">ID2D1SvgElement</a>
 

 

