Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 1.76 KB

imetadataimport-getscopeprops-method.md

File metadata and controls

66 lines (49 loc) · 1.76 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: IMetaDataImport::GetScopeProps Method
IMetaDataImport::GetScopeProps Method
03/30/2017
IMetaDataImport.GetScopeProps
mscoree.dll
COM
IMetaDataImport::GetScopeProps
IMetaDataImport::GetScopeProps method [.NET Framework metadata]
GetScopeProps method [.NET Framework metadata]
c8ba42d2-d9fa-43cb-bbc0-f33e1e592cb6
apiref

IMetaDataImport::GetScopeProps Method

Gets the name and optionally the version identifier of the assembly or module in the current metadata scope.

Syntax

HRESULT GetScopeProps (  
   [out] LPWSTR           szName,  
   [in]  ULONG            cchName,  
   [out] ULONG            *pchName,  
   [out, optional] GUID   *pmvid  
);  

Parameters

szName
[out] A buffer for the assembly or module name.

cchName
[in] The size in wide characters of szName.

pchName
[out] The number of wide characters returned in szName.

pmvid
[out, optional] A pointer to a GUID that uniquely identifies the version of the assembly or module.

Remarks

The IMetaDataEmit::SetModuleProps method is used to set these properties.

Requirements

Platforms: See System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: [!INCLUDEnet_current_v10plus]

See also