共用方式為


NamedValueDictionary.RemoveItem Method

Note

This method is available only when developing for Windows.

Removes the specified element from the dictionary.

Syntax

'Declaration
Protected Overridable Function RemoveItem ( _
         key As String _
) As Boolean 
protected virtual bool RemoveItem (
         string key
)
protected:
virtual bool RemoveItem(
         String key
)

Parameters

  • key
    Type: String
    Identity of the key of the data pair to be removed.

Return Value

Type: Boolean
true if the value is present; false otherwise.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline

Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

See Also

Reference

NamedValueDictionary Generic Class
NamedValueDictionary Members
Microsoft.Xna.Framework.Content.Pipeline Namespace

Platforms

Windows 7, Windows Vista, Windows XP