SequenceExtensionsConvertToString Method |
Converts the sequence to a string.
Namespace: Bio.ExtensionsAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static string ConvertToString(
this ISequence sequence,
long startIndex = 0,
long length = 2147483647
)
<ExtensionAttribute>
Public Shared Function ConvertToString (
sequence As ISequence,
Optional startIndex As Long = 0,
Optional length As Long = 2147483647
) As String
public:
[ExtensionAttribute]
static String^ ConvertToString(
ISequence^ sequence,
long long startIndex = 0,
long long length = 2147483647
)
[<ExtensionAttribute>]
static member ConvertToString :
sequence : ISequence *
?startIndex : int64 *
?length : int64
(* Defaults:
let _startIndex = defaultArg startIndex 0
let _length = defaultArg length 2147483647
*)
-> string
Parameters
- sequence
- Type: BioISequence
[Missing <param name="sequence"/> documentation for "M:Bio.Extensions.SequenceExtensions.ConvertToString(Bio.ISequence,System.Int64,System.Int64)"]
- startIndex (Optional)
- Type: SystemInt64
Start position of the sequence. - length (Optional)
- Type: SystemInt64
Number of symbols to return.
Return Value
Type:
StringPart of the sequence in string format.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ISequence. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also