TeamFoundationIdentity.GetAttribute Method
Attribute accessor. Will return the caller supplied default value if attribute is not present (will not throw).
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.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
- name
Type: System.String
- defaultValue
Type: System.String
Return Value
Type: System.String
Returns String.
.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.