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

适用于