Retrieves the maximum occurrences allowed for the setting. 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.MaxOccurrences

Syntax

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

Property Value

The maximum occurrences allowed for the setting.

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