DataMappedObject.GetProperty<T> Method (String)

Retrieves the value of the specified property associated with the current generic concept.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Function GetProperty(Of T) ( _
    name As String _
) As T
'Usage
Dim name As String 
Dim returnValue As T

returnValue = Me.GetProperty(name)
protected T GetProperty<T>(
    string name
)
protected:
generic<typename T>
T GetProperty(
    String^ name
)
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

Type: T
The property value of the generic type corresponding to the given property name.

Remarks

This method delegates the call to the GetProperty method and passes default(T) for the second parameter.

.NET Framework Security

See Also

Reference

DataMappedObject Class

DataMappedObject Members

GetProperty Overload

Microsoft.VisualStudio.Data.Framework Namespace