Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets an attribute. This method is obsolete, use SetProperty instead.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub SetAttribute ( _
name As String, _
value As String _
)
public void SetAttribute(
string name,
string value
)
public:
void SetAttribute(
String^ name,
String^ value
)
member SetAttribute :
name:string *
value:string -> unit
public function SetAttribute(
name : String,
value : String
)
Parameters
- name
Type: System.String
- value
Type: System.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.