Retrieves the maximum length of the setting's value. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim settingDefinition1 As SettingDefinition

Dim returnValue As Integer
returnValue = settingDefinition1.MaxLength

Syntax

Visual Basic
Public MustOverride ReadOnly Property MaxLength() As Integer
C#
public abstract int MaxLength {get;}
C++
public:
property virtual int MaxLength {
		int get();
}
J#
public abstract int get_MaxLength();
JScript
public abstract function get MaxLength() : int;

Property Value

The maximum length of the setting's value or 0 if there is no restriction.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also