Testing.CountryRegion.CreateCountryRegion C# (CSharp) Method

CreateCountryRegion() public static method

Create a new CountryRegion object.
public static CreateCountryRegion ( global countryRegionCode, global name, global modifiedDate ) : CountryRegion
countryRegionCode global Initial value of the CountryRegionCode property.
name global Initial value of the Name property.
modifiedDate global Initial value of the ModifiedDate property.
return CountryRegion
        public static CountryRegion CreateCountryRegion(global::System.String countryRegionCode, global::System.String name, global::System.DateTime modifiedDate)
        {
            CountryRegion countryRegion = new CountryRegion();
            countryRegion.CountryRegionCode = countryRegionCode;
            countryRegion.Name = name;
            countryRegion.ModifiedDate = modifiedDate;
            return countryRegion;
        }