NameValueConfigurationCollection.Remove 메서드

정의

NameValueConfigurationElement 컬렉션에서 개체를 제거합니다.

오버로드

Name Description
Remove(NameValueConfigurationElement)

제공된 NameValueConfigurationElement 매개 변수를 기반으로 컬렉션에서 개체를 제거합니다.

Remove(String)

제공된 NameValueConfigurationElement 매개 변수를 기반으로 컬렉션에서 개체를 제거합니다.

Remove(NameValueConfigurationElement)

Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs

제공된 NameValueConfigurationElement 매개 변수를 기반으로 컬렉션에서 개체를 제거합니다.

public:
 void Remove(System::Configuration::NameValueConfigurationElement ^ nameValue);
public void Remove(System.Configuration.NameValueConfigurationElement nameValue);
member this.Remove : System.Configuration.NameValueConfigurationElement -> unit
Public Sub Remove (nameValue As NameValueConfigurationElement)

매개 변수

예제

다음 코드 예제에서는 메서드를 사용 하는 방법을 보여 줍니다 Remove . 이 코드 예제는 클래스에 제공된 더 큰 예제의 NameValueConfigurationCollection 일부입니다.

// Remove domain from the collection.
NameValueConfigurationElement myConfigElement =
    myNameValConfigCollection["domain"];
// Remove method.
myNameValConfigCollection.Remove(myConfigElement);
' Remove domain from the collection.
Dim myConfigElement As NameValueConfigurationElement = myNameValConfigCollection("domain")
' Remove method.
myNameValConfigCollection.Remove(myConfigElement)

설명

메서드를 Remove 사용하여 컬렉션에서 제거 NameValueConfigurationElement 합니다. 요소를 제거할 때 사용자 지정 동작이 필요한 경우 파생 클래스에서 재정의합니다.

적용 대상

Remove(String)

Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs
Source:
NameValueConfigurationCollection.cs

제공된 NameValueConfigurationElement 매개 변수를 기반으로 컬렉션에서 개체를 제거합니다.

public:
 void Remove(System::String ^ name);
public void Remove(string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)

매개 변수

name
String

개체의 NameValueConfigurationElement 이름입니다.

설명

메서드를 Remove 사용하여 컬렉션에서 제거 NameValueConfigurationElement 합니다. 요소를 제거할 때 사용자 지정 동작이 필요한 경우 파생 클래스에서 재정의합니다.

적용 대상