共用方式為


MetadataBuilder.AddAssembly 方法

定義

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

參數

version
Version
culture
StringHandle
publicKey
BlobHandle
hashAlgorithm
AssemblyHashAlgorithm

傳回

適用於