Share via


Comment.Id Property

The Id of a a comment. Id is 0 when the comment is first created and is assigned to an incrementing value after it is saved to the server.

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

Syntax

'Declaration
Public ReadOnly Property Id As Short
public short Id { get; }
public:
property short Id {
    short get ();
}
member Id : int16 with get
function get Id () : short

Property Value

Type: System.Int16
Returns Int16.

.NET Framework Security

See Also

Reference

Comment Class

Microsoft.TeamFoundation.Discussion.Client Namespace