IVsPropertyFileOut::BeginPropertySection Method (String^, String^, IVsPropertyStreamOut^, UInt32)
Visual Studio 2015
Begins a property section (inner property stream) used until a call to EndPropertySection.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int BeginPropertySection( String^ szName, String^ szLineComment, [OutAttribute] IVsPropertyStreamOut^% ppIVsPropertyStreamOut, [OutAttribute] unsigned int% pdwCookie )
Parameters
- szName
-
Type:
System::String^
[in] String containing the name of the property section.
- szLineComment
-
Type:
System::String^
[in] String containing a comment about the section.
- ppIVsPropertyStreamOut
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsPropertyStreamOut^
[out] Pointer to the BeginPropertySection interface to use for output.
- pdwCookie
-
Type:
System::UInt32
[out] Pointer to an integer that is a cookie identifying this property section. Used in the call to EndPropertySection.
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::BeginPropertySection( [in] LPCOLESTR szName, [in] LPCOLESTR szLineComment, [out] IVsPropertyStreamOut **ppIVsPropertyStreamOut, [out] VSCOOKIE *pdwCookie );
Show: