Community Analyst API for Silverlight 2.2 Reference
EnsureOnePropertySpecified(Object,Boolean,String[]) Method
See Also  Send Feedback
ESRI.ArcGIS.Client.BACore Namespace > CoreUtils Class > EnsureOnePropertySpecified Method : EnsureOnePropertySpecified(Object,Boolean,String[]) Method

obj
Object to get properties from.
allowMissing
If true, the case of all missing properties is allowed.
names
List of property names to be tested.

Glossary Item Box

Tests properties to be mutually exclusive.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

obj
Object to get properties from.
allowMissing
If true, the case of all missing properties is allowed.
names
List of property names to be tested.

Return Value

Zero-based index of specified property in the list or -1 (all properties are not specified).

Exceptions

ExceptionDescription
System.InvalidOperationExceptionAll tested properties are missing or more than one property is specified.

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.