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

Syntax

C#
public IFeature CreateFeature(
	Feature..::.Template temp
)

Parameters

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

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

Return Value

The added feature

Implements

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