Share via


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

  • defaultValue
    Type: T

Return Value

Type: T

.NET Framework Security

See Also

Reference

Identity Class

Microsoft.VisualStudio.Services.Identity Namespace