Create a parameter object, which includes parameter value and metadata.
| C# | Visual Basic | Visual C++ |
public Setting( string name, Type type, Object value, bool writeable, Reader..::.SettingFilter getfilter, Reader..::.SettingFilter setfilter, bool confirmed, bool cacheGetValue )
Public Sub New ( _ name As String, _ type As Type, _ value As Object, _ writeable As Boolean, _ getfilter As Reader..::.SettingFilter, _ setfilter As Reader..::.SettingFilter, _ confirmed As Boolean, _ cacheGetValue As Boolean _ )
public: Setting( String^ name, Type^ type, Object^ value, bool writeable, Reader..::.SettingFilter^ getfilter, Reader..::.SettingFilter^ setfilter, bool confirmed, bool cacheGetValue )
- 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.
- confirmed (Boolean)
- If the parameter is Confirmed
- cacheGetValue (Boolean)
- store the value of the parameter in paramGet