共用方式為


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

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

See Also

Reference

IVsPropertyFileOut Interface

IVsPropertyFileOut Members

Microsoft.VisualStudio.Shell.Interop Namespace