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



Accusoft.FormDirectorSdk Namespace > TemplateImageCollection Class > Item Property : Item(String) Property
The Type string of the TemplateImage in the collection to get or set. If multiple TemplateImages 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 an element with the given type.
Syntax
'Declaration
 
Public Overloads Property Item( _
   ByVal type As String _
) As TemplateImage
'Usage
 
Dim instance As TemplateImageCollection
Dim type As String
Dim value As TemplateImage
 
instance.Item(type) = value
 
value = instance.Item(type)
public TemplateImage Item( 
   string type
) {get; set;}
public:
property TemplateImage^ Item {
   TemplateImage^ get(String^ type);
   void set (String^ type, TemplateImage^ value);
}

Parameters

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

See Also

Reference

TemplateImageCollection Class
TemplateImageCollection Members
Overload List
GetIndexOfType Method

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