16 references to StringToBSTR
mscorlib (2)
system\Runtime\InteropServices\Variant.cs (2)
228*(IntPtr*)this._typeUnion._unionTypes._byref = Marshal.StringToBSTR((string)value); 625this._typeUnion._unionTypes._bstr = Marshal.StringToBSTR(value);
PresentationFramework (2)
src\Framework\System\Windows\Documents\InputScopeAttribute.cs (1)
124pbstr = Marshal.StringToBSTR(((InputScopePhrase)_inputScope.PhraseList[i]).Name);
src\Framework\System\Windows\Documents\TextStore.cs (1)
2715attrval.val.data1.Value = Marshal.StringToBSTR(familyName);
System (2)
compmod\system\componentmodel\LicenseManager.cs (2)
446pbstrKey = Marshal.StringToBSTR(licenseKey); 522bstrKey = Marshal.StringToBSTR(key);
System.Web (8)
Management\regiisutil.cs (8)
77exception = Marshal.StringToBSTR((new Exception(SR.GetString(SR.Unable_To_Register_Assembly, webAssembly.FullName))).ToString()); 82exception = Marshal.StringToBSTR((new Exception(SR.GetString(SR.Unable_To_UnRegister_Assembly, webAssembly.FullName))).ToString()); 86exception = Marshal.StringToBSTR(e.ToString()); 105exception = Marshal.StringToBSTR((new Exception(SR.GetString(SR.Unable_To_Register_Assembly, webAssembly.FullName))).ToString()); 116exception = Marshal.StringToBSTR((new Exception(SR.GetString(SR.Unable_To_UnRegister_Assembly, webAssembly.FullName))).ToString()); 127exception = Marshal.StringToBSTR(e.ToString()); 196exception = Marshal.StringToBSTR(sb.ToString()); 439exception = Marshal.StringToBSTR(e.Message);
System.Workflow.ComponentModel (2)
AuthoringOM\Design\DesignerWidgets.cs (2)
2343titleStr = Marshal.StringToBSTR(title); 2358toolInfo.text = Marshal.StringToBSTR(toolTipText);