TfsGitObject.TryParseIdentity Method
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
Protected Shared Function TryParseIdentity ( _
line As String, _
<OutAttribute> ByRef name As String, _
<OutAttribute> ByRef email As String, _
<OutAttribute> ByRef time As DateTime, _
<OutAttribute> ByRef baseUtcOffset As TimeSpan _
) As Boolean
protected static bool TryParseIdentity(
string line,
out string name,
out string email,
out DateTime time,
out TimeSpan baseUtcOffset
)
protected:
static bool TryParseIdentity(
String^ line,
[OutAttribute] String^% name,
[OutAttribute] String^% email,
[OutAttribute] DateTime% time,
[OutAttribute] TimeSpan% baseUtcOffset
)
static member TryParseIdentity :
line:string *
name:string byref *
email:string byref *
time:DateTime byref *
baseUtcOffset:TimeSpan byref -> bool
protected static function TryParseIdentity(
line : String,
name : String,
email : String,
time : DateTime,
baseUtcOffset : TimeSpan
) : boolean
Parameters
- line
Type: System.String
- name
Type: System.String%
- email
Type: System.String%
- time
Type: System.DateTime%
- baseUtcOffset
Type: System.TimeSpan%
Return Value
Type: System.Boolean
Returns Boolean.
.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.