MetadataBuilder.AddImportScope(ImportScopeHandle, BlobHandle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.