Show / Hide Table of Contents

Class Category

Carrier object for Category. Services for the Category Carrier is available from the List Agent.

Inheritance
object
Category
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.10.0.0")]
public class Category : Carrier
Examples

Get Category 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

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

Constructors

Category()

Default constructor

Declaration
public Category()
See Also
IListAgent

Properties

CategoryGroup

Enum of the group this category belongs to, static list of 5 groups

Declaration
[DataMember]
public virtual CategoryGroup CategoryGroup { get; set; }
Property Value
Type Description
CategoryGroup
See Also
IListAgent

Deleted

True if the category is deleted

Declaration
[DataMember]
public virtual bool Deleted { get; set; }
Property Value
Type Description
bool
See Also
IListAgent

EnableLeadStatus

True if the category should enable lead status

Declaration
[DataMember]
public virtual bool EnableLeadStatus { get; set; }
Property Value
Type Description
bool
See Also
IListAgent

Id

The category identifier

Declaration
[DataMember]
public virtual int Id { get; set; }
Property Value
Type Description
int
See Also
IListAgent

Rank

The rank of the category

Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
Type Description
short
See Also
IListAgent

Tooltip

The category description

Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
Type Description
string
See Also
IListAgent

Value

The category name

Declaration
[DataMember]
public virtual string Value { get; set; }
Property Value
Type Description
string
See Also
IListAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
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.

See Also
IListAgent

See Also

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