XmlSchemaCollection 클래스

정의

주의

XmlSchemaCollection has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation instead.

주의

Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. https://go.microsoft.com/fwlink/?linkid=14202

주의

XmlSchemaCollection has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.

주의

Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202

XSD(XML 스키마 정의 언어) 및 XDR(XML-Data 축소) 스키마의 캐시를 포함합니다. 클래스가 XmlSchemaCollection 사용되지 않습니다. XmlSchemaSet를 대신 사용하세요.

public ref class XmlSchemaCollection sealed : System::Collections::ICollection
[System.Obsolete("XmlSchemaCollection has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation instead.")]
public sealed class XmlSchemaCollection : System.Collections.ICollection
[System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. https://go.microsoft.com/fwlink/?linkid=14202")]
public sealed class XmlSchemaCollection : System.Collections.ICollection
[System.Obsolete("XmlSchemaCollection has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.")]
public sealed class XmlSchemaCollection : System.Collections.ICollection
[System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202")]
public sealed class XmlSchemaCollection : System.Collections.ICollection
public sealed class XmlSchemaCollection : System.Collections.ICollection
[<System.Obsolete("XmlSchemaCollection has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation instead.")>]
type XmlSchemaCollection = class
    interface ICollection
    interface IEnumerable
[<System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. https://go.microsoft.com/fwlink/?linkid=14202")>]
type XmlSchemaCollection = class
    interface ICollection
    interface IEnumerable
[<System.Obsolete("XmlSchemaCollection has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.")>]
type XmlSchemaCollection = class
    interface ICollection
    interface IEnumerable
[<System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202")>]
type XmlSchemaCollection = class
    interface ICollection
    interface IEnumerable
type XmlSchemaCollection = class
    interface ICollection
    interface IEnumerable
Public NotInheritable Class XmlSchemaCollection
Implements ICollection
상속
XmlSchemaCollection
특성
구현

설명

스키마는 스키마가 네임스페이스 URI(Uniform Resource Identifier)와 연결된 메서드를 사용하여 Add 로드됩니다. XML 스키마의 경우 일반적으로 스키마의 targetNamespace 속성입니다.

이 클래스는 XML 스키마와 XDR 스키마를 모두 저장하지만 XML 스키마를 사용하거나 반환 XmlSchema 하는 모든 메서드와 속성은 XML 스키마에만 적용됩니다.

이 버전의 제품은 XML 스키마 1부: 구조 및 XML 스키마 파트 2: 데이터 형식에 있는 W3C(World Wide Web 컨소시엄) XML 스키마 권장 사항을 지원합니다. XML 스키마는 해당 스키마 요소에서 W3C 스키마 네임스페이스를 http://www.w3.org/2001/XMLSchema 참조해야 합니다. 예제는 Add 메서드를 참조하세요.

XmlSchemaCollection 는 효율적인 데이터 유효성 검사를 위해 사용할 XmlValidatingReader 수 있습니다.

Important

XmlSchemaCollection 클래스는 Microsoft .NET Framework 버전 2.0에서 사용되지 않으며 XmlSchemaSet 클래스로 대체되었습니다.

생성자

Name Description
XmlSchemaCollection()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

XmlSchemaCollection 클래스의 새 인스턴스를 초기화합니다.

XmlSchemaCollection(XmlNameTable)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 클래스를 사용하여 클래스의 XmlSchemaCollection 새 인스턴스를 초기화합니다 XmlNameTable. 스키 XmlNameTable 마를 로드할 때 사용됩니다.

속성

Name Description
Count
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

이 컬렉션에 정의된 네임스페이스 수를 가져옵니다.

Item[String]
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 네임스페이 XmlSchema 스 URI와 연결된 값을 가져옵니다.

NameTable
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

새 스키마를 로드할 XmlNameTable 때 사용하는 기본값 XmlSchemaCollection 을 가져옵니다.

메서드

Name Description
Add(String, String)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 URL에 있는 스키마를 스키마 컬렉션에 추가합니다.

Add(String, XmlReader, XmlResolver)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

스키마 컬렉션에 XmlReader 포함된 스키마를 추가합니다. 지정된 XmlResolver 리소스는 외부 리소스를 확인하는 데 사용됩니다.

Add(String, XmlReader)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

스키마 컬렉션에 XmlReader 포함된 스키마를 추가합니다.

Add(XmlSchema, XmlResolver)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

컬렉션에 XmlSchema 추가합니다. 지정된 XmlResolver 내용은 외부 참조를 확인하는 데 사용됩니다.

Add(XmlSchema)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

컬렉션에 XmlSchema 추가합니다.

Add(XmlSchemaCollection)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 컬렉션에 정의된 모든 네임스페이스(연결된 스키마 포함)를 이 컬렉션에 추가합니다.

Contains(String)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 네임스페이스가 있는 스키마가 컬렉션에 있는지 여부를 나타내는 값을 가져옵니다.

Contains(XmlSchema)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 targetNamespace 값이 컬렉션에 XmlSchema 있는지 여부를 나타내는 값을 가져옵니다.

CopyTo(XmlSchema[], Int32)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

이 컬렉션의 모든 개체를 XmlSchema 지정된 인덱스에서 시작하여 지정된 배열에 복사합니다.

Equals(Object)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 개체가 현재 개체와 같은지 여부를 확인합니다.

(다음에서 상속됨 Object)
GetEnumerator()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

스키마 컬렉션에 대한 "for each" 스타일 반복을 지원합니다.

GetHashCode()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

기본 해시 함수로 사용됩니다.

(다음에서 상속됨 Object)
GetType()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

이벤트

Name Description
ValidationEventHandler
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

XDR 및 XML 스키마 유효성 검사 오류에 대한 정보를 수신하기 위한 이벤트 처리기를 설정합니다.

명시적 인터페이스 구현

Name Description
ICollection.CopyTo(Array, Int32)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

이 멤버에 대한 설명은 을 참조하세요 CopyTo(XmlSchema[], Int32).

ICollection.Count
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

이 멤버에 대한 설명은 을 참조하세요 Count.

ICollection.IsSynchronized
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

이 멤버에 대한 설명은 을 참조하세요 ICollection.IsSynchronized.

ICollection.SyncRoot
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

이 멤버에 대한 설명은 을 참조하세요 ICollection.SyncRoot.

IEnumerable.GetEnumerator()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

이 멤버에 대한 설명은 을 참조하세요 GetEnumerator().

확장명 메서드

Name Description
AsParallel(IEnumerable)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

쿼리의 병렬 처리를 사용하도록 설정합니다.

AsQueryable(IEnumerable)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

IEnumerable IQueryable변환합니다.

Cast<TResult>(IEnumerable)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

IEnumerable 요소를 지정된 형식으로 캐스팅합니다.

OfType<TResult>(IEnumerable)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 형식에 따라 IEnumerable 요소를 필터링합니다.

적용 대상