OrganizationServiceContextExtensions.GetTimeZoneCodeByLocalizedName Method (OrganizationServiceContext, String, Int32)

 

Applies To: Dynamics CRM 2015

Retrieves the time-zone code for the specified localized time-zone name. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static int GetTimeZoneCodeByLocalizedName(
    this OrganizationServiceContext context,
    string localizedStandardName,
    int localeId
)
public:
[ExtensionAttribute]
static int GetTimeZoneCodeByLocalizedName(
    OrganizationServiceContext^ context,
    String^ localizedStandardName,
    int localeId
)
static member GetTimeZoneCodeByLocalizedName : 
        context:OrganizationServiceContext *
        localizedStandardName:string *
        localeId:int -> int
<ExtensionAttribute>
Public Shared Function GetTimeZoneCodeByLocalizedName (
    context As OrganizationServiceContext,
    localizedStandardName As String,
    localeId As Integer
) As Integer

Parameters

Return Value

Type: System.Int32

Returns Int32.

Remarks

This is a method wrapper for the GetTimeZoneCodeByLocalizedNameRequest and GetTimeZoneCodeByLocalizedNameResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright