Partager via


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

'Déclaration
Function get_DefaultURLEncodingCodePage ( _
    <OutAttribute> ByRef pulCodePage As UInteger _
) As Integer
'Utilisation
Dim instance As IVsHTMLConverter
Dim pulCodePage As UInteger
Dim returnValue As Integer

returnValue = instance.get_DefaultURLEncodingCodePage(pulCodePage)
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

IVsHTMLConverter Members

Microsoft.VisualStudio.Shell.Interop Namespace