Set an entire device profile from an XML encoded string

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

Syntax

C#
void SetProfile(
	string DriverId,
	ASCOMProfile XmlProfileKey
)
Visual Basic
Sub SetProfile ( _
	DriverId As String, _
	XmlProfileKey As ASCOMProfile _
)
Visual C++
void SetProfile(
	String^ DriverId, 
	ASCOMProfile^ XmlProfileKey
)

Parameters

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

Remarks

Set a whole device Profile in one call using a recusrive ProfileKey class

See Also