JSRDotNETSDK Reference

# PulserReceiverImpl.GetPulserPropertyValue (String, PulserPropertyRole, Int32) 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

    public virtual object GetPulserPropertyValue(
       string settingName,
       PulserPropertyRole role,
       int index
    )

    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.

index

  Type: int

#### Return Value

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

#### Implements

IPulserReceiver.GetPulserPropertyValue
See Also

#### Reference

PulserReceiverImpl Class
PulserReceiverImpl Members
JSRDotNETSDK Namespace
GetPulserPropertyValue(string,PulserPropertyRole)