Represents country or region specific dialing information. This class cannot be inherited.
Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)
Syntax
C# |
[SerializableAttribute]
public sealed class RasCountry
|
Visual Basic |
<SerializableAttribute>
Public NotInheritable Class RasCountry
|
Visual C++ |
[SerializableAttribute]
public ref class RasCountry sealed
|
F# |
[<SealedAttribute>]
[<SerializableAttribute>]
type RasCountry = class end
|
Examples
The following example shows how to retrieve all countries from the Windows Telephony list.
C# | Copy |
---|
ReadOnlyCollection<RasCountry> countries = RasCountry.GetCountries();
foreach (RasCountry country in countries)
{
} |
Visual Basic | Copy |
---|
Dim countries As ReadOnlyCollection(Of RasCountry) = RasCountry.GetCountries();
For Each country As RasCountry in countries
Next |
Inheritance Hierarchy
See Also