---
title: "ICeeGen::GetString Method"
ms.date: "03/30/2017"
api_name: 
  - "ICeeGen.GetString"
api_location: 
  - "mscoree.dll"
api_type: 
  - "COM"
f1_keywords: 
  - "ICeeGen::GetString"
helpviewer_keywords: 
  - "ICeeGen::GetString method [.NET Framework metadata]"
  - "GetString method, ICeeGen interface [.NET Framework metadata]"
ms.assetid: 7cc22562-128c-440a-9147-55ff20f173d7
topic_type: 
  - "apiref"
---
# ICeeGen::GetString Method
Gets the string stored at the specified relative virtual address.  
  
 This method is obsolete and should not be used.  
  
## Syntax  
  
```cpp  
HRESULT GetString (  
    [in]  ULONG      RVA,
    [out] LPWSTR     *lpString  
);  
```  
  
## Parameters  
 `RVA`  
 [in] The relative virtual address of the string to return.  
  
 `lpString`  
 [out] The returned string.  
  
## Requirements  
 **Platforms:** See [System Requirements](../../get-started/system-requirements.md).  
  
 **Header:** Cor.h  
  
 **Library:** Used as a resource in MsCorEE.dll  
  
 **.NET Framework Versions:** [!INCLUDE[net_current_v10plus](../../../../includes/net-current-v10plus-md.md)]  
  
## See also

- [ICeeGen Interface](iceegen-interface.md)
