IArgumentsWriter.SetValue Method |
Sets the value of an argument.
Namespace: PostSharp.Serialization
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
void SetValue( string name, Object value, string scope = null )
Parameters
- name
- Type: System.String
Argument name. - value
- Type: System.Object
Argument value. The value can be null or must be serializable. - scope (Optional)
- Type: System.String
An optional prefix of name, similar to a namespace.