MetadataBuilder.AddAssemblyReference 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::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
Parameters
- name
- StringHandle
- version
- Version
- culture
- StringHandle
- publicKeyOrToken
- BlobHandle
- flags
- AssemblyFlags
- hashValue
- BlobHandle
Returns
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.