Namespace: HidSharpAssembly: HidSharp (in HidSharp.dll) Version: 2.0.0
public static OpenOption New(
Guid guid,
OpenOptionDeserializeCallback deserializeCallback,
OpenOptionSerializeCallback serializeCallback,
Object defaultValue = null,
string friendlyName = null
)
Public Shared Function New (
guid As Guid,
deserializeCallback As OpenOptionDeserializeCallback,
serializeCallback As OpenOptionSerializeCallback,
Optional defaultValue As Object = Nothing,
Optional friendlyName As String = Nothing
) As OpenOption
public:
static OpenOption^ New(
Guid guid,
OpenOptionDeserializeCallback^ deserializeCallback,
OpenOptionSerializeCallback^ serializeCallback,
Object^ defaultValue = nullptr,
String^ friendlyName = nullptr
)
static member New :
guid : Guid *
deserializeCallback : OpenOptionDeserializeCallback *
serializeCallback : OpenOptionSerializeCallback *
?defaultValue : Object *
?friendlyName : string
(* Defaults:
let _defaultValue = defaultArg defaultValue null
let _friendlyName = defaultArg friendlyName null
*)
-> OpenOption
Parameters
- guid
- Type: SystemGuid
- deserializeCallback
- Type: HidSharpOpenOptionDeserializeCallback
- serializeCallback
- Type: HidSharpOpenOptionSerializeCallback
- defaultValue (Optional)
- Type: SystemObject
- friendlyName (Optional)
- Type: SystemString
Return Value
Type:
OpenOption
Reference