IUIHostLocale2.GetUILocale Method
Returns the UI locale identifier of the host.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaración
Function GetUILocale ( _
<OutAttribute> ByRef plcid As UInteger _
) As Integer
'Uso
Dim instance As IUIHostLocale2
Dim plcid As UInteger
Dim returnValue As Integer
returnValue = instance.GetUILocale(plcid)
int GetUILocale(
out uint plcid
)
int GetUILocale(
[OutAttribute] unsigned int% plcid
)
function GetUILocale(
plcid : uint
) : int
Parameters
plcid
Type: System.UInt32%[out, retval] Pointer to the unique identifier of the UI locale.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IUIHostLocale.GetUILocale(UInt32%)
Remarks
COM Signature
From uilocale.idl:
HRESULT IUIHostLocale2::GetUILocale(
[out, retval] LCID *plcid
);
Permissions
- 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.