adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / Message Class / CreateForCode Method

In This Topic
    CreateForCode Method
    In This Topic
    Creates a Message for the specified message code.
    Syntax
    'Declaration
     
    
    Public Shared Function CreateForCode( _
       ByVal type As MessageType, _
       ByVal code As String _
    ) As Message
    public static Message CreateForCode( 
       MessageType type,
       string code
    )

    Parameters

    type
    code
    Remarks
    This method can only be used for one of the predefined code values. The Text for the code is loaded from the resource file.
    See Also