IVsPropertyFileOut.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 IVsPropertyFileOut
Dim dwCookie As UInteger
Dim returnValue As Integer
returnValue = instance.EndPropertySection(dwCookie)
int EndPropertySection(
uint dwCookie
)
int EndPropertySection(
[InAttribute] unsigned int dwCookie
)
abstract EndPropertySection :
dwCookie:uint32 -> int
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.
Implements
IVsPropertyStreamOut.EndPropertySection(UInt32)
Remarks
Call the Flush method after calling EndPropertySection and continuing with an outer property stream.
COM Signature
From vsshell.idl:
[C++]
HRESULT IVsPropertyFileOut::EndPropertySection(
[in] VSCOOKIE dwCookie
);
.NET Framework Security
- 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.