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
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
- name
Type: System.String
The name of the property to retrieve.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.