Testing.ContactType.CreateContactType C# (CSharp) Method

CreateContactType() public static method

Create a new ContactType object.
public static CreateContactType ( global contactTypeID, global name, global modifiedDate ) : ContactType
contactTypeID global Initial value of the ContactTypeID property.
name global Initial value of the Name property.
modifiedDate global Initial value of the ModifiedDate property.
return ContactType
        public static ContactType CreateContactType(global::System.Int32 contactTypeID, global::System.String name, global::System.DateTime modifiedDate)
        {
            ContactType contactType = new ContactType();
            contactType.ContactTypeID = contactTypeID;
            contactType.Name = name;
            contactType.ModifiedDate = modifiedDate;
            return contactType;
        }