IVsPropertyStreamOut.EndPropertySection Method

Ends a property section (an inner property stream).

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

Syntax

'宣言
Function EndPropertySection ( _
    dwCookie As UInteger _
) As Integer
'使用
Dim instance As IVsPropertyStreamOut
Dim dwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.EndPropertySection(dwCookie)
int EndPropertySection(
    uint dwCookie
)
int EndPropertySection(
    [InAttribute] unsigned int dwCookie
)
function EndPropertySection(
    dwCookie : uint
) : int

Parameters

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Call the Flush method after calling EndPropertySection and continuing with an outer property stream.

COM Signature

From vsshell.idl:

[C++]

HRESULT IVsPropertyStreamOut::EndPropertySection(
   [in] VSCOOKIE dwCookie
);

Permissions

See Also

Reference

IVsPropertyStreamOut Interface

IVsPropertyStreamOut Members

Microsoft.VisualStudio.Shell.Interop Namespace