CodeIdentifiers.Remove(String) 方法
定义
从 CodeIdentifiers 实例的范围中移除由输入名称标识的代码实体或类型映射。Removes from the CodeIdentifiers instance's scope the code entity or type mapping identified by the input name.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
void Remove(System::String ^ identifier);
public void Remove (string identifier);
member this.Remove : string -> unit
Public Sub Remove (identifier As String)
参数
- identifier
- String
要移除的代码实体或类型映射信息的名称。The name of the code entity or type mapping information to remove.
注解
如果要控制绑定到 XML 架构或 Web 服务定义的代码实体的名称,请使用关联的属性,而不是创建类的实例 CodeIdentifiers 。If you want to control the names of code entities that are bound to XML Schema or Web service definitions, use the associated attributes rather than creating an instance of the CodeIdentifiers class. 有关完整列表,请参阅 控制 XML 序列化的属性。For a complete list, see Attributes That Control XML Serialization.