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).Exception | Description |
---|---|
System.InvalidOperationException | All tested properties are missing or more than one property is specified. |
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