Community Analyst API for Silverlight 2.2 Reference
EnsureMutuallyExclusive Method
See Also  Send Feedback
ESRI.ArcGIS.Client.BACore.Client Namespace > BATaskUtils Class : EnsureMutuallyExclusive Method

obj
An object to be tested.
names
Names of properties to be tested.

Glossary Item Box

Ensures that not more than one property from the input list has a nonempty value.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

obj
An object to be tested.
names
Names of properties to be tested.

Return Value

Zero-based index of tested property that is specified or -1 if values of all tested properties are null or empty.

Remarks

The method especially tests String and List type properties to have nonzero length.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 ESRI Inc. All Rights Reserved.