แก้ไข

แชร์ผ่าน


MetadataBuilder.AddMarshallingDescriptor(EntityHandle, BlobHandle) Method

Definition

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