This document is archived and information here might be outdated.  Recommended version.


ISchematicAttributeContainer.GetSchematicAttribute Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Schematic)  

ISchematicAttributeContainer.GetSchematicAttribute Method

Retrives recursively or not the schematic attribute referenced by the specified Name.

[Visual Basic .NET]
Public Function GetSchematicAttribute ( _
    ByVal Name As String, _
    [ByVal RecursiveSearch As Boolean] _
) As ISchematicAttribute
[C#]
public ISchematicAttribute GetSchematicAttribute (
    string Name,
    bool RecursiveSearch
);
[C#]

Optional Values

RecursiveSearch   Supply false as a default value.
[C++]
HRESULT GetSchematicAttribute(
  BSTR Name,
  VARIANT_BOOL RecursiveSearch,
  ISchematicAttribute** Attribute
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR RecursiveSearch [in, optional, defaultvalue(VARIANT_FALSE)] RecursiveSearch is a parameter of type VARIANT_BOOL Attribute [out, retval]
Attribute is a parameter of type ISchematicAttribute

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

See Also

ISchematicAttributeContainer Interface

.NET Snippets

Get A SchematicAttribute Related To A SchematicElementClass | Get A SchematicAttribute Related To A SchematicDiagramClass | Get A Schematic Attribute On An In-Memory Schematic Feature