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。