DataServiceBehavior.AcceptSpatialLiteralsInQuery 属性
获取或设置在 URI 中是否支持空间文本值。
命名空间: System.Data.Services
程序集: Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)
语法
声明
Public Property AcceptSpatialLiteralsInQuery As Boolean
Get
Set
用法
Dim instance As DataServiceBehavior
Dim value As Boolean
value = instance.AcceptSpatialLiteralsInQuery
instance.AcceptSpatialLiteralsInQuery = value
public bool AcceptSpatialLiteralsInQuery { get; set; }
public:
property bool AcceptSpatialLiteralsInQuery {
bool get ();
void set (bool value);
}
member AcceptSpatialLiteralsInQuery : bool with get, set
function get AcceptSpatialLiteralsInQuery () : boolean
function set AcceptSpatialLiteralsInQuery (value : boolean)
属性值
类型:System.Boolean
如果在 URI 中支持空间文本值,则为 True;否则为 false。
注释
默认值为 true。