Edit

Share via


MetadataBuilder.AddImportScope(ImportScopeHandle, BlobHandle) Method

Definition

Adds local scope debug information.

public:
 System::Reflection::Metadata::ImportScopeHandle AddImportScope(System::Reflection::Metadata::ImportScopeHandle parentScope, System::Reflection::Metadata::BlobHandle imports);
public System.Reflection.Metadata.ImportScopeHandle AddImportScope (System.Reflection.Metadata.ImportScopeHandle parentScope, System.Reflection.Metadata.BlobHandle imports);
member this.AddImportScope : System.Reflection.Metadata.ImportScopeHandle * System.Reflection.Metadata.BlobHandle -> System.Reflection.Metadata.ImportScopeHandle
Public Function AddImportScope (parentScope As ImportScopeHandle, imports As BlobHandle) As ImportScopeHandle

Parameters

parentScope
ImportScopeHandle

The parent scope handle.

imports
BlobHandle

The import scope handle.

Returns

A handle to the added import scope.

Remarks

For more information about imports, see https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#imports-blob.

Applies to