Identity.GetProperty<T> Method
Namespace: Microsoft.VisualStudio.Services.Identity
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetProperty(Of T) ( _
name As String, _
defaultValue As T _
) As T
public T GetProperty<T>(
string name,
T defaultValue
)
public:
generic<typename T>
T GetProperty(
String^ name,
T defaultValue
)
member GetProperty :
name:string *
defaultValue:'T -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- name
Type: System.String
- defaultValue
Type: T
Return Value
Type: T
.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.