共用方式為


IVsPropertyStreamOut.EndPropertySection(UInt32) Method

Definition

Ends a property section (an inner property stream).

public:
 int EndPropertySection(System::UInt32 dwCookie);
public:
 int EndPropertySection(unsigned int dwCookie);
int EndPropertySection(unsigned int dwCookie);
public int EndPropertySection (uint dwCookie);
abstract member EndPropertySection : uint32 -> int
Public Function EndPropertySection (dwCookie As UInteger) As Integer

Parameters

dwCookie
UInt32

[in] Pointer to an integer that is a cookie identifying the property section to end. Cookie comes from the BeginPropertySection(String, String, IVsPropertyStreamOut, UInt32) call.

Returns

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

Applies to