Editar

Compartilhar via


SelectQuery.SelectedProperties Property

Definition

Ggets or sets an array of property names to be selected in the query.

public:
 property System::Collections::Specialized::StringCollection ^ SelectedProperties { System::Collections::Specialized::StringCollection ^ get(); void set(System::Collections::Specialized::StringCollection ^ value); };
public System.Collections.Specialized.StringCollection SelectedProperties { get; set; }
member this.SelectedProperties : System.Collections.Specialized.StringCollection with get, set
Public Property SelectedProperties As StringCollection

Property Value

Returns a StringCollection containing the names of the properties to be selected in the query.

Remarks

Setting this property value overrides any previous value stored in the object. The query string is rebuilt to reflect the new properties.

A value for the SelectedProperties property would replace the <property> item in a SELECT query of the form "SELECT <property> FROM <className> WHERE <condition>".

Property Value

A StringCollection containing the names of the properties to be selected in the query.

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to