AnnotationCollection.FindByName(String) Method

Definition

Finds an annotation in the collection by name.

public:
 override System::Windows::Forms::DataVisualization::Charting::Annotation ^ FindByName(System::String ^ name);
public override System.Windows.Forms.DataVisualization.Charting.Annotation FindByName (string name);
override this.FindByName : string -> System.Windows.Forms.DataVisualization.Charting.Annotation
Public Overrides Function FindByName (name As String) As Annotation

Parameters

name
String

The name of the annotation to find.

Returns

An Annotation object, or null if the object does not exist.

Applies to