본문 바로가기
Language(언어)/ASP

ASP Application 개체 Contents.Remove

by 대학교닷컴 2013. 12. 6.


Contents.Remove

 

영문
Syntax: Application.Contents.Remove (Name|Integer)
Name : The Name argument is the name of the item to be deleted. It must be enclosed in a pair of quotes.
Integer : The Integer argument is the position number of the item in the collection to be deleted. The numbering sequence for a collection starts at one, not zero. The Contents.Remove method is used to remove a single item from a Contents collection.

The Contents.Remove method is used to delete one specified item in the Application.Contents collection.

번역본
구문 : Application.Contents.Remove (이름 | 정수)
이름 : 이름 인수는 삭제할 수있는 항목의 이름입니다. 이것은 따옴표 한 켤레로 묶어야합니다.
정수 : 정수 인수는 삭제할 수있는 컬렉션 항목의 위치 번호입니다.수집 번호 순서 하나가 아니라 제로에서 시작됩니다.Contents.Remove 방법은 목차 컬렉션에서 단일 항목을 제거하는 데 사용됩니다.

Contents.Remove 방법 Application.Contents 수집 한 특정 항목을 삭제하는 데 사용됩니다.

예제

Code:
<%
Application("name") = "Application Maker"
Application("publishdate") = "05/15/01"
Application("author") = "DevGuru"
Set Application("Obj1") = Server.CreateObject("ADODB.Connection")

Application.Contents.Remove(1)
Application.Contents.Remove("publishdate")
Output:
author=DevGuru
Obj1 is an object.
%>

'Language(언어) > ASP' 카테고리의 다른 글

ASP CSng 함수  (0) 2013.12.06
ASP CLng 함수  (0) 2013.12.06
ASP Application 개체 Contents.RemoveAll  (0) 2013.12.06
ASP Application 개체 Application.Lock  (0) 2013.12.06
ASP Application 개체 Application.Unlock  (0) 2013.12.06

댓글