CodeParameterDeclarationExpressionCollection.Remove 메서드

정의

지정된 CodeParameterDeclarationExpression를 컬렉션에서 제거합니다.

public:
 void Remove(System::CodeDom::CodeParameterDeclarationExpression ^ value);
public void Remove (System.CodeDom.CodeParameterDeclarationExpression value);
member this.Remove : System.CodeDom.CodeParameterDeclarationExpression -> unit
Public Sub Remove (value As CodeParameterDeclarationExpression)

매개 변수

예외

지정된 개체가 컬렉션에 없는 경우

예제

다음 예제에서는 사용 Remove 하는 방법에 설명 합니다 에서 개체CodeParameterDeclarationExpressionCollection를 삭제 하는 CodeParameterDeclarationExpression 방법입니다.

// Removes the specified CodeParameterDeclarationExpression 
// from the collection.
CodeParameterDeclarationExpression^ parameter = gcnew CodeParameterDeclarationExpression( int::typeid,"testIntArgument" );
collection->Remove( parameter );
// Removes the specified CodeParameterDeclarationExpression
// from the collection.
CodeParameterDeclarationExpression parameter = new CodeParameterDeclarationExpression(typeof(int), "testIntArgument");
collection.Remove( parameter );
' Removes the specified CodeParameterDeclarationExpression 
' from the collection.
Dim parameter As New CodeParameterDeclarationExpression(GetType(Integer), "testIntArgument")
collection.Remove(parameter)

적용 대상