Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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#
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}{signature:vb.net
vb.net
}
Public Function GetNamedObject(ByVal name As String) As NamedObject
Parameters
Param
namenameA string representation of the
{signature}
{parameters}
{param:name}A string representation of the object's name.
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.

{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#}
NamedObject obj = ws.GetNamedObject("MyNamedObject");
{code}
{code:vb.net
|title=vb.net
}
Dim obj As NamedObject = ws.GetNamedObject("MyNamedObject"){code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle