Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common.Integration (in Microsoft.TeamFoundation.VersionControl.Common.Integration.dll)
Syntax
声明
Protected Function CommentText ( _
    comment As String, _
    maxCommentChars As Integer _
) As String
protected string CommentText(
    string comment,
    int maxCommentChars
)
protected:
String^ CommentText(
    String^ comment, 
    int maxCommentChars
)
member CommentText : 
        comment:string * 
        maxCommentChars:int -> string 
protected function CommentText(
    comment : String, 
    maxCommentChars : int
) : String
Parameters
- comment
Type: System.String 
- maxCommentChars
Type: System.Int32 
Return 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.