FormFix v6.0 for .NET - Updated
Item(String) Property



Accusoft.FormDirectorSdk Namespace > FieldCollection Class > Item Property : Item(String) Property
The Name string of the Field in the collection to get or set. If multiple Fields in the collection have the same value for the Name property, this method will return the matching item with the lowest numeric index.
Gets or sets an element with the given name.
Syntax
'Declaration
 
Public Overloads Property Item( _
   ByVal name As String _
) As Field
'Usage
 
Dim instance As FieldCollection
Dim name As String
Dim value As Field
 
instance.Item(name) = value
 
value = instance.Item(name)
public Field Item( 
   string name
) {get; set;}
public:
property Field^ Item {
   Field^ get(String^ name);
   void set (String^ name, Field^ value);
}

Parameters

name
The Name string of the Field in the collection to get or set. If multiple Fields in the collection have the same value for the Name property, this method will return the matching item with the lowest numeric index.
Remarks

This method implements a standard collection operation. It is one of the principle methods you will use to read or change elements in the collection. You can read or modify most elements in the collection with this method.

You can indicate the element you are interested in with a string. This method will search the collection for the first (lowest numeric index) element whose Name property matches the string.

See Also

Reference

FieldCollection Class
FieldCollection Members
Overload List
GetIndexOfName Method

Is this page helpful?
Yes No
Thanks for your feedback.