Class ContactPersonId
Class representing an ContactPersonId carrier used for storing either a person id or a contact id. If PersonId contains an id, ContactId will be 0, and the other way around.
Carrier object for ContactPersonId.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class ContactPersonId : Carrier
Constructors
ContactPersonId()
Default constructor
Declaration
public ContactPersonId()
Properties
ContactId
A contact id.
Declaration
[DataMember]
public virtual int ContactId { get; set; }
Property Value
Type | Description |
---|---|
int |
PersonId
A person id.
Declaration
[DataMember]
public virtual int PersonId { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
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. |