T
Property type waited.
Community Analyst API for Silverlight 2.2 Reference
TryGetPropertyValue<T>(Object,String,T) Method
See Also  Send Feedback
ESRI.ArcGIS.Client.BACore Namespace > CoreUtils Class > TryGetPropertyValue Method : TryGetPropertyValue<T>(Object,String,T) Method

obj
Object to get property from.
name
Property name.
value
Output value. It receives an object property value or the default value for this type.

Glossary Item Box

Tries to get a value of property.

Syntax

 
Visual Basic (Declaration)
C#
 
 
Public Overloads Shared Function TryGetPropertyValue(Of T)( _
   ByVal obj As Object, _
   ByVal name As String, _
   ByRef value As T _
) As Boolean

Parameters

obj
Object to get property from.
name
Property name.
value
Output value. It receives an object property value or the default value for this type.

Type Parameters

T
Property type waited.

Return Value

True if the given object has the given property of the given type or derived type.

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.