Initializes a new instance of the Note class with the specified name and Graphic.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public Note(
	string name,
	Graphic graphic
)
Visual Basic (Declaration)
Public Sub New ( _
	name As String, _
	graphic As Graphic _
)

Parameters

name
Type: System..::.String

The name of the Note.
graphic
Type: ESRI.ArcGISExplorer.Mapping..::.Graphic

A Graphic object to set as the Note.Graphic property of the new Note.Graphic; cannot be nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

This overload initializes the Name and Graphic properties with the specified name and graphic.

Exceptions

ExceptionCondition
System..::.NullReferenceExceptionA Note cannot have a nullNothingnullptra null reference (Nothing in Visual Basic) Graphic.

See Also