Class VariableDeclarationCollection
Inheritance
VariableDeclarationCollection
Namespace: Unity.VisualScripting
Syntax
[SerializationVersion("A", new Type[]{})]
public sealed class VariableDeclarationCollection : KeyedCollection<string, VariableDeclaration>, IList<VariableDeclaration>, IList, ICollection, IReadOnlyList<VariableDeclaration>, IReadOnlyCollection<VariableDeclaration>, IKeyedCollection<string, VariableDeclaration>, ICollection<VariableDeclaration>, IEnumerable<VariableDeclaration>, IEnumerable
Methods
EditorRename(VariableDeclaration, String)
Declaration
public void EditorRename(VariableDeclaration item, string newName)
Parameters
Type | Name | Description |
---|---|---|
VariableDeclaration | item | |
String | newName |
GetKeyForItem(VariableDeclaration)
Declaration
protected override string GetKeyForItem(VariableDeclaration item)
Parameters
Type | Name | Description |
---|---|---|
VariableDeclaration | item |
Returns
Type | Description |
---|---|
String |
Overrides
System.Collections.ObjectModel.KeyedCollection<System.String, Unity.VisualScripting.VariableDeclaration>.GetKeyForItem(Unity.VisualScripting.VariableDeclaration)
TryGetValue(String, out VariableDeclaration)
Declaration
public bool TryGetValue(string key, out VariableDeclaration value)
Parameters
Type | Name | Description |
---|---|---|
String | key | |
VariableDeclaration | value |
Returns
Type | Description |
---|---|
Boolean |