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.Projection
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)

Syntax

C#
public override IFeature CreateFeature(
	Feature..::.Template templ
)

Parameters

templ
Type: BioSharp.Core.Bio.Seq..::.Feature..::.Template

[Missing <param name="templ"/> documentation for "M:BioSharp.Core.Bio.Seq.Projection.ProjectedFeatureHolder.CreateFeature(BioSharp.Core.Bio.Seq.Feature.Template)"]

Return Value

The added feature

Implements

IFeatureHolder..::.CreateFeature(Feature..::.Template)
IFeatureHolder..::.CreateFeature(Feature..::.Template)

Exceptions

ExceptionCondition
BioSharp.Core.Bio..::.BioExceptionif something went wrong during creating the feature
BioSharp.Core.Utils..::.ChangeVetoExceptionif this FeatureHolder does not support creation of new features, or if the change was vetoed

See Also