MethodDataCollection.Remove(String) Método

Definição

public:
 virtual void Remove(System::String ^ methodName);
public virtual void Remove (string methodName);
abstract member Remove : string -> unit
override this.Remove : string -> unit
Public Overridable Sub Remove (methodName As String)

Parâmetros

methodName
String

O nome do método a remover da coleção.The name of the method to remove from the collection.

Comentários

A remoção de MethodData objetos do MethodDataCollection só pode ser feita quando a classe não tem instâncias.Removing MethodData objects from the MethodDataCollection can only be done when the class has no instances. Qualquer outro caso resultará em uma exceção.Any other case will result in an exception.

Segurança do .NET Framework.NET Framework Security

Confiança total para o chamador imediato.Full trust for the immediate caller. Este membro não pode ser usado pelo código parcialmente confiável.This member cannot be used by partially trusted code. Para obter mais informações, consulte usando bibliotecas de código parcialmente confiável.For more information, see Using Libraries from Partially Trusted Code.

Aplica-se a