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
'宣言
Function get_DefaultURLEncodingCodePage ( _
<OutAttribute> ByRef pulCodePage As UInteger _
) As Integer
'使用
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
- 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.