Debug.SetAllocationLimit(Int32) メソッド

定義

注意事項

deprecated

現在のスレッドでオブジェクトの割り当て制限を確立します。

[Android.Runtime.Register("setAllocationLimit", "(I)I", "")]
[System.Obsolete("deprecated")]
public static int SetAllocationLimit (int limit);
[<Android.Runtime.Register("setAllocationLimit", "(I)I", "")>]
[<System.Obsolete("deprecated")>]
static member SetAllocationLimit : int -> int

パラメーター

limit
Int32

戻り値

属性

注釈

現在のスレッドでオブジェクトの割り当て制限を確立します。 この機能は、リリース ビルドでは有効にされませんでした。 割り当て制限機能は、ハニカムで削除されました。 このメソッドは互換性のために存在し、常に -1 を返し、効果はありません。

このメンバーは非推奨とされます。 このメソッドは使われていません。

android.os.Debug.setAllocationLimit(int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象