TypeDescriptor.RemoveAssociations(Object) 메서드

정의

기본 개체에 대한 모든 연결을 제거합니다.

public:
 static void RemoveAssociations(System::Object ^ primary);
public static void RemoveAssociations (object primary);
static member RemoveAssociations : obj -> unit
Public Shared Sub RemoveAssociations (primary As Object)

매개 변수

primary
Object

연결의 기본 Object 입니다.

예외

primarynull입니다.

설명

메서드는 RemoveAssociations 메서드에 대한 호출 CreateAssociation 로 만든 주 개체와 모든 보조 개체 간의 모든 연결을 제거합니다.

WeakReference 은 주 개체와 보조 개체 간의 연결을 유지하는 데 사용되므로 이 메서드는 보조 개체의 주 개체가 가비지 수집에 의해 마무리되거나 회수될 때 영향을 주지 않습니다.

적용 대상

추가 정보