Set an entire device profile from an ASCOMProfile class instance

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public void SetProfile(
	string DriverId,
	ASCOMProfile NewProfileKey
)
Visual Basic
Public Sub SetProfile ( _
	DriverId As String, _
	NewProfileKey As ASCOMProfile _
)
Visual C++
public:
virtual void SetProfile(
	String^ DriverId, 
	ASCOMProfile^ NewProfileKey
) sealed

Parameters

DriverId
Type: System..::..String
The ProgID of the device
NewProfileKey
Type: ASCOM.Utilities..::..ASCOMProfile
A class representing the profile

Implements

IProfileExtra..::..SetProfile(String, ASCOMProfile)

Remarks

Please see the code examples in this help file for a description of how to use this method.

See Also