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



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

Parameters

type
The Type string of the DataItem in the collection to get or set. If multiple DataItems in the collection have the same value for the Type 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 DataItem you are interested in with an a string. This method will search the collection for the first (lowest numeric index) DataItem whose Type property matches the string.

See Also

Reference

DataItemCollection Class
DataItemCollection Members
Overload List
GetIndexOfType Method

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