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



Accusoft.FormDirectorSdk Namespace > FormDefinitionCollection Class > Item Property : Item(String) Property
The Name string of the FormDefinition in the collection to get or set. If multiple FormDefinitions 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 FormDefinition
'Usage
 
Dim instance As FormDefinitionCollection
Dim name As String
Dim value As FormDefinition
 
instance.Item(name) = value
 
value = instance.Item(name)
public FormDefinition Item( 
   string name
) {get; set;}
public:
property FormDefinition^ Item {
   FormDefinition^ get(String^ name);
   void set (String^ name, FormDefinition^ value);
}

Parameters

name
The Name string of the FormDefinition in the collection to get or set. If multiple FormDefinitions 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

FormDefinitionCollection Class
FormDefinitionCollection Members
Overload List
GetIndexOfName Method

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