RasPhoneBook.Open Method (Boolean)

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#
[ObsoleteAttribute("This method will be removed in a future version, please use the Open(string) overload to open the phone book.", 
	false)]
public void Open(
	bool openUserPhoneBook
)
Visual Basic
<ObsoleteAttribute("This method will be removed in a future version, please use the Open(string) overload to open the phone book.", 
	false)> 
Public Sub Open ( 
	openUserPhoneBook As Boolean
)
Visual C++
public:
[ObsoleteAttribute(L"This method will be removed in a future version, please use the Open(string) overload to open the phone book.", 
	false)]
void Open(
	bool openUserPhoneBook
)
F#
[<ObsoleteAttribute("This method will be removed in a future version, please use the Open(string) overload to open the phone book.", 
	false)>]
member Open : 
        openUserPhoneBook : bool -> unit 

Parameters

openUserPhoneBook
Type: System..::..Boolean
true to open the phone book in the user's profile; otherwise, false to open the system phone book in the All Users profile.

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..::..UnauthorizedAccessException The caller does not have the required permission to perform the action requested.

See Also