blockly > kayıt otoritesi > kaydı iptal et
registry.unregister() işlevi
Belirtilen tür ve ada sahip kayıt defteri öğesinin kaydını iptal eder.
İmza:
export declare function unregister<T>(type: string | Type<T>, name: string): void;
Parametreler
Parametre |
Tür |
Açıklama |
tür |
dize | Tür<T> |
Eklentinin türü. (ör. Alan, Oluşturucu) |
ad |
dize |
Eklentinin adı. (Ör. "field_angle", "geras") |
Şunu döndürür:
geçersiz
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-29 UTC.
[null,null,["Son güncelleme tarihi: 2024-08-29 UTC."],[[["The `registry.unregister()` function removes a registered item from Blockly's registry based on its type and name."],["It accepts two parameters: `type`, which specifies the category of the item (e.g., Field, Renderer), and `name`, which is the unique identifier of the item."],["Calling this function with valid type and name permanently removes the corresponding item from the registry, preventing further access."]]],[]]