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

...

Description

Excerpt

Returns the 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.

Signature
C#
C#
 public NamedObject GetNamedObject(System.String name)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Function GetNamedObject(ByVal name As String) As NamedObject
{signature}
{parameters}
{param:name}A string representation of the 
Parameters
Param
name
name

A string representation of the object's

name.

{param} {returns}A {{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.{returns} {example}{code:csharp|title=C#}

Returns

A 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.

Example
Code Block
csharp
csharp
titleC#

NamedObject obj = ws.GetNamedObject("MyNamedObject");
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim obj As NamedObject = ws.GetNamedObject("MyNamedObject")
{code} {example}