JSRDotNETSDK Reference

# PulserReceiverBase.GetPulserPropertyValue Method

PulserReceiverBase Class 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.
Overload List

Name | Description
--- | ---
GetPulserPropertyValue(string, PulserPropertyRole) | 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.
GetPulserPropertyValue(string) | An alternative method of reading the value of a property is to provide a PR_PROPERTY enum value. The result will be an integer, double, string or array boxed into an object.

See Also

#### Reference

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