Upravit

Sdílet prostřednictvím


LateBinding.DeleteMember(Object, String) Method

Definition

Deletes the specified member from the specified object.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static bool DeleteMember(System::Object ^ obj, System::String ^ name);
public static bool DeleteMember (object obj, string name);
static member DeleteMember : obj * string -> bool
Public Shared Function DeleteMember (obj As Object, name As String) As Boolean

Parameters

obj
Object

The object to delete from.

name
String

The member to delete.

Returns

true if the member was successfully deleted; otherwise, false.

Applies to