IVsPropertyStreamOut::Write Method (String^, Object^, String^)
Visual Studio 2015
Writes a property name, value, and comment to the stream.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- szPropertyName
-
Type:
System::String^
[in] String containing the name of the property.
- varValue
-
Type:
System::Object^
[in] A VARIANT containing the property 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 IVsPropertyStreamOut::Write( [in] LPCOLESTR szPropertyName, [in] VARIANT varValue, [in, optional] LPCOLESTR szLineComment );
Show: