Show / Hide Table of Contents

Class LocalizedText

Carrier object for LocalizedText. Services for the LocalizedText Carrier is available from the IListAgent.

Inheritance
Object
LocalizedText
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class LocalizedText : Carrier
Examples

Get LocalizedText 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var localizedText = agent.GetLocalizedText( 123 );
 }

Constructors

LocalizedText()

Default constructor

Declaration
public LocalizedText()
Examples

Get LocalizedText 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var localizedText = agent.GetLocalizedText( 123 );
 }
See Also
ListAgent
IListAgent

Properties

IsBuiltIn

1 = this row is populated and maintained by SuperOffice

Declaration
public virtual bool IsBuiltIn { get; set; }
Property Value
Type Description
Boolean
Examples

Get LocalizedText 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var localizedText = agent.GetLocalizedText( 123 );
 }
See Also
ListAgent
IListAgent

LanguageId

Language id as LCID value

Declaration
public virtual int LanguageId { get; set; }
Property Value
Type Description
Int32
Examples

Get LocalizedText 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var localizedText = agent.GetLocalizedText( 123 );
 }
See Also
ListAgent
IListAgent

LocalizedTextId

Primary key

Declaration
public virtual int LocalizedTextId { get; set; }
Property Value
Type Description
Int32
Examples

Get LocalizedText 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var localizedText = agent.GetLocalizedText( 123 );
 }
See Also
ListAgent
IListAgent

ResourceId

Resource ID

Declaration
public virtual int ResourceId { get; set; }
Property Value
Type Description
Int32
Examples

Get LocalizedText 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var localizedText = agent.GetLocalizedText( 123 );
 }
See Also
ListAgent
IListAgent

Text

The text string itself

Declaration
public virtual string Text { get; set; }
Property Value
Type Description
String
Examples

Get LocalizedText 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var localizedText = agent.GetLocalizedText( 123 );
 }
See Also
ListAgent
IListAgent

Type

The type of the text string, e.g. Field label, Udef label, etc.

Declaration
public virtual LocalizedTextType Type { get; set; }
Property Value
Type Description
LocalizedTextType
Examples

Get LocalizedText 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var localizedText = agent.GetLocalizedText( 123 );
 }
See Also
ListAgent
IListAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
String

The carrier contents.

Examples

Get LocalizedText 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var localizedText = agent.GetLocalizedText( 123 );
 }
See Also
ListAgent
IListAgent

ToString(String)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
String prefix

The line prefix (typically used for indenting)

Returns
Type Description
String

The carrier contents.

Examples

Get LocalizedText 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var localizedText = agent.GetLocalizedText( 123 );
 }
See Also
ListAgent
IListAgent

See Also

ListAgent
IListAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top