CodeAttributeArgumentCollection.Remove(CodeAttributeArgument) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Remove o objeto especificado CodeAttributeArgument da coleção.
public:
void Remove(System::CodeDom::CodeAttributeArgument ^ value);
public void Remove(System.CodeDom.CodeAttributeArgument value);
member this.Remove : System.CodeDom.CodeAttributeArgument -> unit
Public Sub Remove (value As CodeAttributeArgument)
Parâmetros
- value
- CodeAttributeArgument
O CodeAttributeArgument objeto a remover da coleção.
Exceções
O objeto especificado não se encontra na coleção.
Exemplos
O exemplo seguinte demonstra como usar o Remove método para eliminar um CodeAttributeArgument objeto de um CodeAttributeArgumentCollection.
// Removes the specified CodeAttributeArgument from the collection.
CodeAttributeArgument argument = new CodeAttributeArgument("Test Boolean Argument", new CodePrimitiveExpression(true));
collection.Remove( argument );
' Removes the specified CodeAttributeArgument from the collection.
Dim argument As New CodeAttributeArgument("Test Boolean Argument", New CodePrimitiveExpression(True))
collection.Remove(argument)