This topic has not yet been rated - Rate this topic

GetFileDef Method

Retrieves the actual FileDef token used in metadata (as opposed to the token assigned by ALink).


HRESULT GetFileDef(
    mdAssembly AssemblyID,
    mdFile TargetFile,
    mdFile* pScope
) PURE;

Parameters

AssemblyID

ID of the assembly.

TargetFile

Token of the added file as retrieved from AddFile Methodor AddImport Method.

pScope

Receives the FileDef token.

Returns S_OK if the method succeeds.

Requires alink.h

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.