MetadataBuilder.AddMemberReference 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 a MemberRef table row.
public:
System::Reflection::Metadata::MemberReferenceHandle AddMemberReference(System::Reflection::Metadata::EntityHandle parent, System::Reflection::Metadata::StringHandle name, System::Reflection::Metadata::BlobHandle signature);
public System.Reflection.Metadata.MemberReferenceHandle AddMemberReference (System.Reflection.Metadata.EntityHandle parent, System.Reflection.Metadata.StringHandle name, System.Reflection.Metadata.BlobHandle signature);
member this.AddMemberReference : System.Reflection.Metadata.EntityHandle * System.Reflection.Metadata.StringHandle * System.Reflection.Metadata.BlobHandle -> System.Reflection.Metadata.MemberReferenceHandle
Public Function AddMemberReference (parent As EntityHandle, name As StringHandle, signature As BlobHandle) As MemberReferenceHandle
Parameters
- parent
- EntityHandle
The containing entity, which can be one of the following: TypeDefinitionHandle, TypeReferenceHandle, ModuleReferenceHandle, MethodDefinitionHandle, or TypeSpecificationHandle.
- name
- StringHandle
The member name.
- signature
- BlobHandle
The member signature.
Returns
A handle to the added member reference.
Exceptions
parent
doesn't have the expected handle kind.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.