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
dwCookie
Type: System.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: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.