ChangesetVersionSpec.ParseChangesetNumber Method
Parses the string as a changeset number. Throws an exception if the changeset number is not a valid changeset integer.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function ParseChangesetNumber ( _
changeset As String _
) As Integer
public static int ParseChangesetNumber(
string changeset
)
public:
static int ParseChangesetNumber(
String^ changeset
)
static member ParseChangesetNumber :
changeset:string -> int
public static function ParseChangesetNumber(
changeset : String
) : int
Parameters
changeset
Type: System.StringThe changeset ID.
Return Value
Type: System.Int32
The changeset number.
Exceptions
Exception | Condition |
---|---|
InvalidVersionSpecException |
.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.