共用方式為


MetadataBuilder.AddAssemblyReference 方法

定義

public:
 System::Reflection::Metadata::AssemblyReferenceHandle AddAssemblyReference(System::Reflection::Metadata::StringHandle name, Version ^ version, System::Reflection::Metadata::StringHandle culture, System::Reflection::Metadata::BlobHandle publicKeyOrToken, System::Reflection::AssemblyFlags flags, System::Reflection::Metadata::BlobHandle hashValue);
public System.Reflection.Metadata.AssemblyReferenceHandle AddAssemblyReference (System.Reflection.Metadata.StringHandle name, Version version, System.Reflection.Metadata.StringHandle culture, System.Reflection.Metadata.BlobHandle publicKeyOrToken, System.Reflection.AssemblyFlags flags, System.Reflection.Metadata.BlobHandle hashValue);
member this.AddAssemblyReference : System.Reflection.Metadata.StringHandle * Version * System.Reflection.Metadata.StringHandle * System.Reflection.Metadata.BlobHandle * System.Reflection.AssemblyFlags * System.Reflection.Metadata.BlobHandle -> System.Reflection.Metadata.AssemblyReferenceHandle
Public Function AddAssemblyReference (name As StringHandle, version As Version, culture As StringHandle, publicKeyOrToken As BlobHandle, flags As AssemblyFlags, hashValue As BlobHandle) As AssemblyReferenceHandle

參數

version
Version
culture
StringHandle
publicKeyOrToken
BlobHandle
hashValue
BlobHandle

傳回

適用於