Share via


TeamFoundationIdentity.GetAttribute Method

Attribute accessor. Will return the caller supplied default value if attribute is not present (will not throw).

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Function GetAttribute ( _
    name As String, _
    defaultValue As String _
) As String
public string GetAttribute(
    string name,
    string defaultValue
)
public:
String^ GetAttribute(
    String^ name, 
    String^ defaultValue
)
member GetAttribute : 
        name:string * 
        defaultValue:string -> string
public function GetAttribute(
    name : String, 
    defaultValue : String
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

TeamFoundationIdentity Class

Microsoft.TeamFoundation.Framework.Client Namespace