Traits Constructor (NullableInt64, String, String, String, String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, String, String, String, Network, NullableDouble, NullableInt32) | 
 
                Constructor
            
 
    Namespace: 
   MaxMind.GeoIP2.Model
    Assembly:
   MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntaxpublic Traits(
	Nullable<long> autonomousSystemNumber = null,
	string autonomousSystemOrganization = null,
	string connectionType = null,
	string domain = null,
	string ipAddress = null,
	bool isAnonymous = false,
	bool isAnonymousProxy = false,
	bool isAnonymousVpn = false,
	bool isHostingProvider = false,
	bool isLegitimateProxy = false,
	bool isPublicProxy = false,
	bool isResidentialProxy = false,
	bool isSatelliteProvider = false,
	bool isTorExitNode = false,
	string isp = null,
	string organization = null,
	string userType = null,
	Network network = null,
	Nullable<double> staticIPScore = null,
	Nullable<int> userCount = null
)
Public Sub New ( 
	Optional autonomousSystemNumber As Nullable(Of Long) = Nothing,
	Optional autonomousSystemOrganization As String = Nothing,
	Optional connectionType As String = Nothing,
	Optional domain As String = Nothing,
	Optional ipAddress As String = Nothing,
	Optional isAnonymous As Boolean = false,
	Optional isAnonymousProxy As Boolean = false,
	Optional isAnonymousVpn As Boolean = false,
	Optional isHostingProvider As Boolean = false,
	Optional isLegitimateProxy As Boolean = false,
	Optional isPublicProxy As Boolean = false,
	Optional isResidentialProxy As Boolean = false,
	Optional isSatelliteProvider As Boolean = false,
	Optional isTorExitNode As Boolean = false,
	Optional isp As String = Nothing,
	Optional organization As String = Nothing,
	Optional userType As String = Nothing,
	Optional network As Network = Nothing,
	Optional staticIPScore As Nullable(Of Double) = Nothing,
	Optional userCount As Nullable(Of Integer) = Nothing
)
public:
Traits(
	Nullable<long long> autonomousSystemNumber = nullptr, 
	String^ autonomousSystemOrganization = nullptr, 
	String^ connectionType = nullptr, 
	String^ domain = nullptr, 
	String^ ipAddress = nullptr, 
	bool isAnonymous = false, 
	bool isAnonymousProxy = false, 
	bool isAnonymousVpn = false, 
	bool isHostingProvider = false, 
	bool isLegitimateProxy = false, 
	bool isPublicProxy = false, 
	bool isResidentialProxy = false, 
	bool isSatelliteProvider = false, 
	bool isTorExitNode = false, 
	String^ isp = nullptr, 
	String^ organization = nullptr, 
	String^ userType = nullptr, 
	Network^ network = nullptr, 
	Nullable<double> staticIPScore = nullptr, 
	Nullable<int> userCount = nullptr
)
new : 
        ?autonomousSystemNumber : Nullable<int64> * 
        ?autonomousSystemOrganization : string * 
        ?connectionType : string * 
        ?domain : string * 
        ?ipAddress : string * 
        ?isAnonymous : bool * 
        ?isAnonymousProxy : bool * 
        ?isAnonymousVpn : bool * 
        ?isHostingProvider : bool * 
        ?isLegitimateProxy : bool * 
        ?isPublicProxy : bool * 
        ?isResidentialProxy : bool * 
        ?isSatelliteProvider : bool * 
        ?isTorExitNode : bool * 
        ?isp : string * 
        ?organization : string * 
        ?userType : string * 
        ?network : Network * 
        ?staticIPScore : Nullable<float> * 
        ?userCount : Nullable<int> 
(* Defaults:
        let _autonomousSystemNumber = defaultArg autonomousSystemNumber null
        let _autonomousSystemOrganization = defaultArg autonomousSystemOrganization null
        let _connectionType = defaultArg connectionType null
        let _domain = defaultArg domain null
        let _ipAddress = defaultArg ipAddress null
        let _isAnonymous = defaultArg isAnonymous false
        let _isAnonymousProxy = defaultArg isAnonymousProxy false
        let _isAnonymousVpn = defaultArg isAnonymousVpn false
        let _isHostingProvider = defaultArg isHostingProvider false
        let _isLegitimateProxy = defaultArg isLegitimateProxy false
        let _isPublicProxy = defaultArg isPublicProxy false
        let _isResidentialProxy = defaultArg isResidentialProxy false
        let _isSatelliteProvider = defaultArg isSatelliteProvider false
        let _isTorExitNode = defaultArg isTorExitNode false
        let _isp = defaultArg isp null
        let _organization = defaultArg organization null
        let _userType = defaultArg userType null
        let _network = defaultArg network null
        let _staticIPScore = defaultArg staticIPScore null
        let _userCount = defaultArg userCount null
*)
-> TraitsParameters
- autonomousSystemNumber (Optional)
 - Type: SystemNullableInt64
 - autonomousSystemOrganization (Optional)
 - Type: SystemString
 - connectionType (Optional)
 - Type: SystemString
 - domain (Optional)
 - Type: SystemString
 - ipAddress (Optional)
 - Type: SystemString
 - isAnonymous (Optional)
 - Type: SystemBoolean
 - isAnonymousProxy (Optional)
 - Type: SystemBoolean
 - isAnonymousVpn (Optional)
 - Type: SystemBoolean
 - isHostingProvider (Optional)
 - Type: SystemBoolean
 - isLegitimateProxy (Optional)
 - Type: SystemBoolean
 - isPublicProxy (Optional)
 - Type: SystemBoolean
 - isResidentialProxy (Optional)
 - Type: SystemBoolean
 - isSatelliteProvider (Optional)
 - Type: SystemBoolean
 - isTorExitNode (Optional)
 - Type: SystemBoolean
 - isp (Optional)
 - Type: SystemString
 - organization (Optional)
 - Type: SystemString
 - userType (Optional)
 - Type: SystemString
 - network (Optional)
 - Type: MaxMind.DbNetwork
 - staticIPScore (Optional)
 - Type: SystemNullableDouble
 - userCount (Optional)
 - Type: SystemNullableInt32
 
See Also