AuthorizationRuleCollection.Clear 메서드

정의

컬렉션에서 모든 AuthorizationRule 개체를 제거합니다.

public:
 void Clear();
public void Clear();
member this.Clear : unit -> unit
Public Sub Clear ()

예제

다음 코드 예제에서는 메서드를 사용 하는 방법을 보여 있습니다 Clear .

// Using the AuthorizationRuleCollection Clear method.
authorizationSection.Rules.Clear();
' Using the AuthorizationRuleCollection Clear method.
authorizationSection.Rules.Clear()

설명

이 메서드는 clear 상위 수준 구성 파일에 정의된 요소에 대한 모든 참조를 지우기 위해 구성 파일의 적절한 섹션에 지시문을 삽입합니다. 현재 구성 파일의 적절한 섹션에 정의된 모든 요소가 제거됩니다.

적용 대상

추가 정보