Mercury API
Reader..::.Setting Constructor (name, type, value, writeable, getfilter, setfilter)
Namespaces ► ThingMagic ► Reader..::.Setting ► Reader..::.Setting(String, Type, Object, Boolean, Reader..::.SettingFilter, Reader..::.SettingFilter)
Create a parameter object, which includes parameter value and metadata.
Declaration Syntax

C# | Visual Basic | Visual C++

    public Setting(
    	string name,
    	Type type,
    	Object value,
    	bool writeable,
    	Reader..::.SettingFilter getfilter,
    	Reader..::.SettingFilter setfilter
    )

    Public Sub New ( _
    	name As String, _
    	type As Type, _
    	value As Object, _
    	writeable As Boolean, _
    	getfilter As Reader..::.SettingFilter, _
    	setfilter As Reader..::.SettingFilter _
    )

    public:
    Setting(
    	String^ name,
    	Type^ type,
    	Object^ value,
    	bool writeable,
    	Reader..::.SettingFilter^ getfilter,
    	Reader..::.SettingFilter^ setfilter
    )

Parameters

name (String)
  Name of parameter

type (Type)
  Data type; e.g., typeof(int)

value (Object)
  Stored value

writeable (Boolean)
  Allow write access?

getfilter (Reader..::.SettingFilter)
  Filter to use on ParamGet. NOTE: If value is mutable, always make a copy in getfilter to prevent unintentional modifications.

setfilter (Reader..::.SettingFilter)
  Filter to use on ParamSet.

Assembly: MercuryAPI (Module: MercuryAPI) Version: 1.29.4.34 (1.29.4.34)