Class PropString

String properties represent features whose value is a text.

Inheritance
PropString
Implements
Namespace: ic4
Assembly: ic4dotnet.dll
Syntax
public class PropString : Property, IDisposable
Remarks

The maximum length of the text is indicated by MaxLength.

PropString instances are created in multiple ways:

Properties

MaxLength

The maximum length of the string that can be stored in this property

Declaration
public ulong MaxLength { get; }
Property Value
Type Description
ulong

The maximum length of the string that can be stored in this property

Value

The current value of this property

The value is only writable is the property's writability is not restricted. See IsLocked, IsReadonly, IsAvailable.

Declaration
public string Value { get; set; }
Property Value
Type Description
string

The current value of this property

Exceptions
Type Condition
IC4Exception

Check ErrorCode and ToString() for details.

Implements