RasPhoneBook.Open Method (String)

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Opens the phone book.

Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)

Syntax

C#
public void Open(
	string phoneBookPath
)
Visual Basic
Public Sub Open ( 
	phoneBookPath As String
)
Visual C++
public:
void Open(
	String^ phoneBookPath
)
F#
member Open : 
        phoneBookPath : string -> unit 

Parameters

phoneBookPath
Type: System..::..String
The path (including filename) of a phone book.

Remarks

This method opens an existing phone book or creates a new phone book if the file does not already exist.

Exceptions

Exception Condition
System..::..ArgumentException phoneBookPath is an empty string or null reference (Nothing in Visual Basic).
System..::..UnauthorizedAccessException The caller does not have the required permission to perform the action requested.

See Also