共用方式為


MetadataBuilder.AddImportScope(ImportScopeHandle, BlobHandle) 方法

定義

新增本機範圍偵錯資訊。

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

參數

parentScope
ImportScopeHandle

父範圍控制代碼。

imports
BlobHandle

匯入範圍控制代碼。

傳回

已新增之匯入範圍的控制代碼。

備註

如需 imports 的詳細資訊,請參閱https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#imports-blob

適用於