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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.