﻿<?xml version="1.0" encoding="utf-8"?><Type Name="BStrWrapper" FullName="System.Runtime.InteropServices.BStrWrapper"><TypeSignature Language="C#" Value="public sealed class BStrWrapper" /><TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed beforefieldinit BStrWrapper extends System.Object" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Runtime.InteropServices.BStrWrapper" /> class controls how the wrapped object is marshaled when passed as VARIANT. You can wrap a <see cref="T:System.String" /> object in a <see cref="T:System.Runtime.InteropServices.BStrWrapper" /> object to marshal it as VT_BSTR. <see cref="T:System.Runtime.InteropServices.BStrWrapper" /> is useful when passing a null string to unmanaged code. Without <see cref="T:System.Runtime.InteropServices.BStrWrapper" />, a null string is passed as VT_EMPTY; however, wrapping the string with <see cref="T:System.Runtime.InteropServices.BStrWrapper" /> ensures that the null string is passed as VT_BSTR.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Marshals data of type VT_BSTR from managed to unmanaged code. This class cannot be inherited.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public BStrWrapper (object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(object value) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.BStrWrapper" /> class with the specified <see cref="T:System.Object" /> object.</para></summary><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The object to wrap and marshal as VT_BSTR.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public BStrWrapper (string value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string value) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="value" Type="System.String" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.BStrWrapper" /> class with the specified <see cref="T:System.String" /> object.</para></summary><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The object to wrap and marshal as VT_BSTR.</param></Docs></Member><Member MemberName="WrappedObject"><MemberSignature Language="C#" Value="public string WrappedObject { get; }" /><MemberSignature Language="ILAsm" Value=".property instance string WrappedObject" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the wrapped <see cref="T:System.String" /> object to marshal as type VT_BSTR.</para></summary></Docs></Member></Members></Type>