ArcObjects Library Reference  (Carto)    

IFeatureLayerDefinition.DefinitionExpression Property

Definition query expression for the existing layer.

[Visual Basic 6.0]
Property DefinitionExpression As String
[Visual Basic .NET]
Public Property DefinitionExpression As String
[C#]
public string DefinitionExpression {get; set;}
[Java]
public String getDefinitionExpression()
throws
    IOException,
    AutomationException
[Java]
public void setDefinitionExpression(
String DefinitionExpression
)
throws
    IOException,
    AutomationException
[C++]
HRESULT get_DefinitionExpression(
  BSTR* Expression
);
[C++]
HRESULT put_DefinitionExpression(
  BSTR Expression

);

[C++]

Parameters

Expression [out, retval]

  Expression is a parameter of type BSTR

Expression [in]

  Expression is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Use the DefinitionExpression property to read or set the definition query for an existing layer just like you would in the Definition Query tab of the layer's properties dialog.

See Also

IFeatureLayerDefinition Interface

 


Feedback Send feedback on this page