RasCountry Class

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
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 imageCopy
ReadOnlyCollection<RasCountry> countries = RasCountry.GetCountries();
foreach (RasCountry country in countries)
{
    // Do something useful.
}
Visual Basic Copy imageCopy
Dim countries As ReadOnlyCollection(Of RasCountry) = RasCountry.GetCountries();
For Each country As RasCountry in countries
    ' Do something useful.
Next

Inheritance Hierarchy

System..::..Object
  DotRas..::..RasCountry

See Also