TurnState.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Remove(String) |
Removes a key from state. |
| Remove<T>() |
Removes the typed state object of this type. |
Remove(String)
Removes a key from state.
public void Remove(string key);
member this.Remove : string -> unit
Public Sub Remove (key As String)
Parameters
- key
- String
Applies to
Remove<T>()
Removes the typed state object of this type.
public void Remove<T>() where T : class;
member this.Remove : unit -> unit (requires 'T : null)
Public Sub Remove(Of T As Class) ()
Type Parameters
- T