Visual Basic (Declaration)
C#
Parameters
- obj
- Object to get properties from.
- names
- List of property names to be tested.
Return Value
Zero-based index of specified property in the list.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