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