Udostępnij za pośrednictwem


IVsHTMLConverter.get_DefaultURLEncodingCodePage Method

Returns the value of the default code page used when encoding strings.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function get_DefaultURLEncodingCodePage ( _
    <OutAttribute> ByRef pulCodePage As UInteger _
) As Integer
int get_DefaultURLEncodingCodePage(
    out uint pulCodePage
)
int get_DefaultURLEncodingCodePage(
    [OutAttribute] unsigned int% pulCodePage
)
abstract get_DefaultURLEncodingCodePage : 
        pulCodePage:uint32 byref -> int 
function get_DefaultURLEncodingCodePage(
    pulCodePage : uint
) : int

Parameters

  • pulCodePage
    Type: System.UInt32%
    [out] Pointer to the default code page.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsHTMLConverter::get_DefaultURLEncodingCodePage(
   [out]UINT *pulCodePage
);

.NET Framework Security

See Also

Reference

IVsHTMLConverter Interface

Microsoft.VisualStudio.Shell.Interop Namespace