BSTR struct BSTR : IDisposable, IEquatable<BSTR> Documentation Code public bool IsNull { get; } public bool IsNullOrEmpty { get; } public BSTR(string value) public static bool op_Equality(BSTR left, BSTR right) public static BSTR op_Explicit(Char* value) public static BSTR op_Explicit(IntPtr value) public static BSTR op_Explicit(UIntPtr value) public static Char* op_Implicit(BSTR value) public static IntPtr op_Implicit(BSTR value) public static ReadOnlySpan<char> op_Implicit(BSTR bstr) public static bool op_Inequality(BSTR left, BSTR right) public void Dispose() public bool Equals(BSTR other) public string ToNullableStringAndFree() Converts the BSTR to a nullable string and frees it. public string ToStringAndFree() Converts the BSTR to string and frees it.