ReaderFindT Method (IPAddress, Int32, InjectableValues) |
Finds the data related to the specified address.
Namespace:
MaxMind.Db
Assembly:
MaxMind.Db (in MaxMind.Db.dll) Version: 2.4.0
Syntax public T Find<T>(
IPAddress ipAddress,
out int prefixLength,
InjectableValues injectables = null
)
where T : class
Public Function Find(Of T As Class) (
ipAddress As IPAddress,
<OutAttribute> ByRef prefixLength As Integer,
Optional injectables As InjectableValues = Nothing
) As T
public:
generic<typename T>
where T : ref class
T Find(
IPAddress^ ipAddress,
[OutAttribute] int% prefixLength,
InjectableValues^ injectables = nullptr
)
member Find :
ipAddress : IPAddress *
prefixLength : int byref *
?injectables : InjectableValues
(* Defaults:
let _injectables = defaultArg injectables null
*)
-> 'T when 'T : not struct
Parameters
- ipAddress
- Type: System.NetIPAddress
The IP address. - prefixLength
- Type: SystemInt32
The network prefix length for the network record in the database containing the IP address looked up. - injectables (Optional)
- Type: MaxMind.DbInjectableValues
Value to inject during deserialization
Type Parameters
- T
Return Value
Type:
TAn object containing the IP related data
See Also