IVsPropertyStreamOut.BeginPropertySection Method

Begins a property section (inner property stream) used until a call to EndPropertySection.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

‘선언
Function BeginPropertySection ( _
    szName As String, _
    szLineComment As String, _
    <OutAttribute> ByRef ppIVsPropertyStreamOut As IVsPropertyStreamOut, _
    <OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsPropertyStreamOut
Dim szName As String
Dim szLineComment As String
Dim ppIVsPropertyStreamOut As IVsPropertyStreamOut
Dim pdwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.BeginPropertySection(szName, _
    szLineComment, ppIVsPropertyStreamOut, _
    pdwCookie)
int BeginPropertySection(
    string szName,
    string szLineComment,
    out IVsPropertyStreamOut ppIVsPropertyStreamOut,
    out uint pdwCookie
)
int BeginPropertySection(
    [InAttribute] String^ szName, 
    [InAttribute] String^ szLineComment, 
    [OutAttribute] IVsPropertyStreamOut^% ppIVsPropertyStreamOut, 
    [OutAttribute] unsigned int% pdwCookie
)
abstract BeginPropertySection : 
        szName:string * 
        szLineComment:string * 
        ppIVsPropertyStreamOut:IVsPropertyStreamOut byref * 
        pdwCookie:uint32 byref -> int 
function BeginPropertySection(
    szName : String, 
    szLineComment : String, 
    ppIVsPropertyStreamOut : IVsPropertyStreamOut, 
    pdwCookie : uint
) : int

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.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

[C++]

HRESULT IVsPropertyStreamOut::BeginPropertySection(
   [in] LPCOLESTR szName, 
   [in] LPCOLESTR szLineComment, 
   [out] IVsPropertyStreamOut **ppIVsPropertyStreamOut, 
   [out] VSCOOKIE *pdwCookie
);

.NET Framework Security

See Also

Reference

IVsPropertyStreamOut Interface

IVsPropertyStreamOut Members

Microsoft.VisualStudio.Shell.Interop Namespace