Sets list item at position index to value.
Expands the list by adding nullNothingnullptra null reference (Nothing in Visual Basic) values, if needed.
Namespace: NHibernate.UtilAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static void SafeSetValue( IList list, int index, Object value ) |
Visual Basic |
---|
Public Shared Sub SafeSetValue ( _ list As IList, _ index As Integer, _ value As Object _ ) |
Visual C++ |
---|
public: static void SafeSetValue( IList^ list, int index, Object^ value ) |
Parameters
- list
- Type: System.Collections..::..IList
[Missing <param name="list"/> documentation for "M:NHibernate.Util.ArrayHelper.SafeSetValue(System.Collections.IList,System.Int32,System.Object)"]
- index
- Type: System..::..Int32
[Missing <param name="index"/> documentation for "M:NHibernate.Util.ArrayHelper.SafeSetValue(System.Collections.IList,System.Int32,System.Object)"]
- value
- Type: System..::..Object
[Missing <param name="value"/> documentation for "M:NHibernate.Util.ArrayHelper.SafeSetValue(System.Collections.IList,System.Int32,System.Object)"]