DeviceCapabilitiesInterfaceHasMember Method

Determine whether a given member is present in the specified device type and interface version.

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
C#
public static bool InterfaceHasMember(
	MemberNames member,
	DeviceTypes deviceType,
	int interfaceVersion
)

Parameters

member  MemberNames
Member name
deviceType  DeviceTypes
Device type
interfaceVersion  Int32
Interface version

Return Value

Boolean
True if the specified member is present in the given device interface version

Exceptions

Version Information

.NET Standard

Supported in: 2.0

See Also