Visual Basic (Declaration) | |
---|---|
<AttributeUsageAttribute(ValidOn=AttributeTargets.Method, AllowMultiple=False, Inherited=True)> Public NotInheritable Class QueryAttribute Inherits System.Attribute Implements System.Runtime.InteropServices._Attribute |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As QueryAttribute |
C# | |
---|---|
[AttributeUsageAttribute(ValidOn=AttributeTargets.Method, AllowMultiple=false, Inherited=true)] public sealed class QueryAttribute : System.Attribute, System.Runtime.InteropServices._Attribute |
C++/CLI | |
---|---|
[AttributeUsageAttribute(ValidOn=AttributeTargets.Method, AllowMultiple=false, Inherited=true)] public ref class QueryAttribute sealed : public System.Attribute, System.Runtime.InteropServices._Attribute |
By default, all methods in an EnableClientAccess attributed class which begin with one of the following prefixes: "Get", "Fetch", "Find", "Query", "Retrieve", or "Select", and which return an IEnumerable<T> are discovered by DevForce. You only need to use this attribute to discover any method whose name does not begin with one of the above prefixes.
This API is beta and subject to change.
System.Object
System.Attribute
IdeaBlade.Core.DomainServices.QueryAttribute
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family