  | LayoutMessageSetChar Method (String, Int32, NullableChar) | 
 
            Changes  the  character  value  of the field identified by name and index to the supplied value.
            
 
    Namespace: 
   OBCOM.NetSwitchLib.Layouts
    Assembly:
   OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntaxpublic void SetChar(
	string name,
	int index,
	Nullable<char> value
)
Public Sub SetChar ( 
	name As String,
	index As Integer,
	value As Nullable(Of Char)
)
Parameters
- name
 - Type: SystemString
            The name of the field.
             - index
 - Type: SystemInt32
            The occurence index of the field.
             - value
 - Type: SystemNullableChar
            The new character value of the field.
             
Exceptions| Exception | Condition | 
|---|
| InvalidOperationException | 
            If this LayoutMessage has no Layout, or if the required field
            is not defined in the Layout of this LayoutMessage.
             | 
| IndexOutOfRangeException | 
            If index is less than "0" (zero) or greater-equal
            to  the number of occurrences of the field, as indicated by the Occurs property.
             | 
Remarks
            If  
value is 
null then the field's data is
            set to 
NULL (see  
IsNull
            for more details).
            
See Also