JSRDotNETSDK Reference

# PulserSettingInfo.SetPropertyValue (PulserPropertyRole, Object) Method

See Also

Sets the value of a property such as GainMin. While the setting name is 'Gain', there are possibly many properties associated with the gain setting. This method allows the writing of those properties, even if they aren't defined in the IPulserReceiver interface. For example, to write to the GainIndex property, this method could be used like: pulserSettingInfo.SetPropertyValue(pulser, PulserPropertyRole.Index, (object)1);

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

VB
C#
C++
JScript
Copy

    public void SetPropertyValue(
       PulserPropertyRole role,
       object value
    )

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

#### Parameters

role

  Type: PulserPropertyRole

  the property role.

value

  Type: object

  The boxed value for the property to be set to.

Exceptions

Exception type | Condition
--- | ---
ExceptionJSRDotNET | Thrown when a JSR Dot NET error condition occurs.

See Also

#### Reference

PulserSettingInfo Class
PulserSettingInfo Members
JSRDotNETSDK Namespace