Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Returns the [NamedObject|NamedObject] object that represents the name of a specified array, number, picture, or range. If the named object does not exist, the method returns null.{excerpt}
{signature:C#}
 public NamedObject GetNamedObject(System.String name)
{signature}{signature:vb.net}
Public Function GetNamedObject(ByVal name As String) As NamedObject
{signature}
{parameters}
{param:name}The string representation of the object's name.{param}
{returns}The {{NamedObject}} object of a specified array, number, picture, or range, or null if the named object does not exist.{returns}
{example}{code:csharp|title=C#}
NamedObject obj = wb.GetNamedObject("MyObject");{code}
{code:vb.net|title=vb.net}
Dim obj As NamedObject = wb.GetNamedObject("MyObject"){code}

{example}