From b864f190662762d7c29beebc7a1e571236d7d635 Mon Sep 17 00:00:00 2001 From: dahall Date: Tue, 17 Aug 2021 11:06:35 -0600 Subject: [PATCH] Added CorrespondingTypeAttribute.EncodingType property to allow for encoding as part of a conversion. --- Core/InteropServices/CorrespondingTypeAttribute.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/InteropServices/CorrespondingTypeAttribute.cs b/Core/InteropServices/CorrespondingTypeAttribute.cs index 8e497ebb..0df60f3c 100644 --- a/Core/InteropServices/CorrespondingTypeAttribute.cs +++ b/Core/InteropServices/CorrespondingTypeAttribute.cs @@ -53,6 +53,10 @@ namespace Vanara.InteropServices /// The action allowed for the type. public CorrespondingAction Action { get; } + /// Gets or sets the optional encoding type associated with the corresponding type. + /// The encoding type. + public Type EncodingType { get; set; } + /// Gets the type that corresponds to this enumeration value. /// The type that corresponds to this enumeration value. public Type TypeRef { get; }