Class Priority
Carrier object for Priority. Services for the Priority Carrier is available from the IListAgent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class Priority : Carrier
Examples
Get Priority 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var priority = agent.GetPriority( 123 );
}
Constructors
Priority()
Default constructor
Declaration
public Priority()
Examples
Get Priority 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var priority = agent.GetPriority( 123 );
}
See Also
Properties
Id
The List Item Id
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get Priority 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var priority = agent.GetPriority( 123 );
}
See Also
Tooltip
The List Item Tooltip
Declaration
public string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Priority 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var priority = agent.GetPriority( 123 );
}
See Also
Value
The List Item Value
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Priority 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var priority = agent.GetPriority( 123 );
}
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
Examples
Get Priority 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var priority = agent.GetPriority( 123 );
}
See Also
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 Priority 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var priority = agent.GetPriority( 123 );
}