The CommandText Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the command text to execute.| Visual Basic (Declaration) | |
|---|---|
<DataMemberAttribute(Name="CommandText", IsRequired=True)> Public Property CommandText As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As DbBinaryData Dim value As String instance.CommandText = value value = instance.CommandText | |
| C# | |
|---|---|
[DataMemberAttribute(Name="CommandText", IsRequired=true)] public string CommandText {get; set;} | |
| C++/CLI | |
|---|---|
[DataMemberAttribute(Name="CommandText", IsRequired=true)] public: property String^ CommandText { String^ get(); void set ( String^ value); } | |
Property Value
A System.String value expresses the command.For an example, refer to DbBinaryData.
- For more information refer to OdbcCommand.CommandText if Provider is set to DbBinaryDataProvider.Odbc.
- For more information refer to OleDbCommand.CommandText if Provider is set to DbBinaryDataProvider.OleDb.
- For more information refer to SqlCommand.CommandText if Provider is set to DbBinaryDataProvider.Sql.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code