JSRDotNETSDK Reference

# IPulserReceiver.GetPulserPropertyValue (String, PulserPropertyRole) Method

See Also

An alternative method for reading the value of a property is to provide a string prefix name. The result will be an integer, double, string or array boxed into an object. The prefix name consists of begining characters of the specific properties. For example, there are many .NET properties associated with gain, such as GainIndex, GainMax, etc. The prefix name for all these properties is SettingNames.Gain. In this case, to get the gain using this method: double gain = (double) GetPulserPropertyValue(SettingNames.Gain, JSRDotNETPropRole.DIRECT); If there is no .NET property with this role, a null will be returned.

Namespace: JSRDotNETSDK
Assembly: JSRDotNETSDK (in JSRDotNETSDK.dll)
Syntax

VB
C#
C++
JScript
Copy

    object GetPulserPropertyValue(
       string settingName,
       PulserPropertyRole role
    )

    This language is not supported or no code example is available.

#### Parameters

settingName

  Type: string

  The prefix name for the pulser Receiver setting.

role

  Type: PulserPropertyRole

  The role such as INDEX, MAX, DIRECT etc.

#### Return Value

(object) The value of the property boxed into an object, or null if not found.
See Also

#### Reference

IPulserReceiver Interface
IPulserReceiver Members
JSRDotNETSDK Namespace