Create a new IFeature, and add it to this IFeatureHolder. This method will generally
only work on ISequences, and on some IFeatures which have been attached to ISequences.
Namespace:
BioSharp.Core.Bio.Seq.ProjectionAssembly: BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)
Syntax
C# |
---|
public IFeature CreateFeature( Feature..::.Template ft ) |
Parameters
- ft
- Type: BioSharp.Core.Bio.Seq..::.Feature..::.Template
The template to use to create the feature
Return Value
The added featureImplements
IFeatureHolder..::.CreateFeature(Feature..::.Template)Exceptions
Exception | Condition |
---|---|
BioSharp.Core.Bio..::.BioException | if something went wrong during creating the feature |
BioSharp.Core.Utils..::.ChangeVetoException | if this FeatureHolder does not support creation of new features, or if the change was vetoed |