IVsPropertyFileOut::WriteSzAsBSTR Method (String^, String^, String^)
Visual Studio 2015
Write out a null-terminated string property value as a BSTR.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- szPropertyName
-
Type:
System::String^
[in] String containing the property name.
- szValue
-
Type:
System::String^
[in] String containing the property's value.
- szLineComment
-
Type:
System::String^
[in] An optional string containing a comment.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
[C++]++++-
HRESULT IVsPropertyFileOut::WriteSzAsBSTR( [in] LPCOLESTR szPropertyName, [in] LPCOLESTR szValue, [in, optional] LPCOLESTR szLineComment );
Show: