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

'宣告
Protected Function GetProperty(Of T) ( _
    name As String _
) As T
protected T GetProperty<T>(
    string name
)
protected:
generic<typename T>
T GetProperty(
    String^ name
)
member GetProperty : 
        name:string -> 'T 
JScript does not support generic types or methods.

Type Parameters

  • T
    The parameter.

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

GetProperty Overload

Microsoft.VisualStudio.Data.Framework Namespace