ComVariantMarshaller.RefPropagate.ToUnmanaged 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.
Create an unmanaged ComVariant based on the provided managed and unmanaged values.
public:
System::Runtime::InteropServices::Marshalling::ComVariant ToUnmanaged();
public System.Runtime.InteropServices.Marshalling.ComVariant ToUnmanaged ();
member this.ToUnmanaged : unit -> System.Runtime.InteropServices.Marshalling.ComVariant
Public Function ToUnmanaged () As ComVariant
Returns
An ComVariant instance representing the marshaller's current state.
Exceptions
When the managed value must be propagated back to the unmanaged variant, but the managed value type cannot be converted to the variant's type.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.