MetadataBuilder.AddMarshallingDescriptor(EntityHandle, BlobHandle) 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 marshalling information to a field or a parameter.
public:
void AddMarshallingDescriptor(System::Reflection::Metadata::EntityHandle parent, System::Reflection::Metadata::BlobHandle descriptor);
public void AddMarshallingDescriptor (System.Reflection.Metadata.EntityHandle parent, System.Reflection.Metadata.BlobHandle descriptor);
member this.AddMarshallingDescriptor : System.Reflection.Metadata.EntityHandle * System.Reflection.Metadata.BlobHandle -> unit
Public Sub AddMarshallingDescriptor (parent As EntityHandle, descriptor As BlobHandle)
Parameters
- parent
- EntityHandle
The parent entity handle, which can be one of the following: ParameterHandle or FieldDefinitionHandle.
- descriptor
- BlobHandle
The descriptor blob.
Exceptions
parent
doesn't have the expected handle kind.
Remarks
Entries may be added in any order. The table is automatically sorted when serialized.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.