MetadataBuilder.AddAssembly 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.
public:
System::Reflection::Metadata::AssemblyDefinitionHandle AddAssembly(System::Reflection::Metadata::StringHandle name, Version ^ version, System::Reflection::Metadata::StringHandle culture, System::Reflection::Metadata::BlobHandle publicKey, System::Reflection::AssemblyFlags flags, System::Reflection::AssemblyHashAlgorithm hashAlgorithm);
public System.Reflection.Metadata.AssemblyDefinitionHandle AddAssembly (System.Reflection.Metadata.StringHandle name, Version version, System.Reflection.Metadata.StringHandle culture, System.Reflection.Metadata.BlobHandle publicKey, System.Reflection.AssemblyFlags flags, System.Reflection.AssemblyHashAlgorithm hashAlgorithm);
member this.AddAssembly : System.Reflection.Metadata.StringHandle * Version * System.Reflection.Metadata.StringHandle * System.Reflection.Metadata.BlobHandle * System.Reflection.AssemblyFlags * System.Reflection.AssemblyHashAlgorithm -> System.Reflection.Metadata.AssemblyDefinitionHandle
Public Function AddAssembly (name As StringHandle, version As Version, culture As StringHandle, publicKey As BlobHandle, flags As AssemblyFlags, hashAlgorithm As AssemblyHashAlgorithm) As AssemblyDefinitionHandle
Parameters
- name
- StringHandle
- version
- Version
- culture
- StringHandle
- publicKey
- BlobHandle
- flags
- AssemblyFlags
- hashAlgorithm
- AssemblyHashAlgorithm
Returns
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.