HeaderPane
Main
Hide
Share Link
Print

Item Property, ValueCollectionClass Class

Defines the value of a value token.

Class: ValueCollectionClass
Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Syntax

public object this[ int index ] { get; set; }
Public Default Property Item( ByVal index As Integer ) As Object

The Item property is the indexer of the ValueCollectionClass class, so languages supporting indexers can use array syntax, usually [] or (), to access the Item property.

Parameters

index

The number of the value token, 0 to 9.

Value

A decimal when the token covers exactly one numeric field (null if it is empty), else the text without literals; null when the mask has no such token. Setting a value replaces the part of the contents; a decimal or another formattable value is formatted with the control's culture. Setting a value for a token the mask does not have throws an ArgumentException.

Comments

Defines the value of a value token.

See Also ValueCollectionClass Class | Classes | SftMask/NET 3.0