In This Article

Int32Part Class

Represents an Int32 part.

public class Int32Part : FormattedPartBase<int?>, ISpinnablePart<int?>, IPart
Inheritance:
object PartBase<int?> FormattedPartBase<int?> object
Implements:
ISpinnablePart<int?> IPart

Constructors

Int32Part()

Initializes an instance of the class.

public Int32Part()

Properties

IsComposited

Gets whether the part is composited with other parts in an exit box.

protected virtual bool IsComposited { get; }

Property Value

bool:

true if the part is composited with other parts in an exit box; otherwise, false.

Methods

ApplyIncrementalChange(IncrementalChangeRequest<int?>)

Applies an incremental change to the part's value.

public bool ApplyIncrementalChange(IncrementalChangeRequest<int?> request)
Parameter Type Description
request IncrementalChangeRequest<int?>

The incremental change request.

Returns

bool:

true if an incremental change was made; otherwise, false.

TryParseText(IList<IPart>, string, int, CultureInfo, out int)

Tries to parse the text starting offset and returns the offset through which parsing was completed.

public override bool TryParseText(IList<IPart> parts, string text, int startOffset, CultureInfo culture, out int offset)
Parameter Type Description
parts IList<IPart>

The part collection in which this part is a member.

text string

The text to examine.

startOffset int

The start offset.

culture CultureInfo

The CultureInfo to use.

offset int

Returns the offset through which parsing was completed.

Returns

bool:

true if parsing was successful; otherwise, false.

Inherited Members