Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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, size_is(cchName), length_is(*pchName)] LPWSTR szName,
  [in]                                         ULONG  cchName,
  [out]                                        ULONG  *pchName,
  [out, unique]                                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]

A pointer to a GUID that uniquely identifies the version of the assembly or module.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show: