다음을 통해 공유


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

'Declaration
Function EndPropertySection ( _
    dwCookie As UInteger _
) As Integer
int EndPropertySection(
    uint dwCookie
)
int EndPropertySection(
    [InAttribute] unsigned int dwCookie
)
abstract EndPropertySection : 
        dwCookie:uint32 -> int
function EndPropertySection(
    dwCookie : uint
) : int

Parameters

  • dwCookie
    Type: UInt32

    [in] Pointer to an integer that is a cookie identifying the property section to end. Cookie comes from the BeginPropertySection call.

Return Value

Type: 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
);

.NET Framework Security

See Also

Reference

IVsPropertyStreamOut Interface

Microsoft.VisualStudio.Shell.Interop Namespace