다음을 통해 공유


XmlSchemaSetBuilder.Candidates 속성

Gets or sets a list of XmlSchemaReference objects that represent schemas that import a target namespace.

네임스페이스: Microsoft.VisualStudio.XmlEditor
어셈블리: microsoft.visualstudio.xmleditor.dll의 Microsoft.VisualStudio.XmlEditor

사용법

구문

‘선언
Public MustOverride Property Candidates As IList(Of XmlSchemaReference)
public abstract IList<XmlSchemaReference> Candidates { get; set; }
public:
virtual property IList<XmlSchemaReference^>^ Candidates {
    IList<XmlSchemaReference^>^ get () abstract;
    void set (IList<XmlSchemaReference^>^ value) abstract;
}
/** @property */
public abstract IList<XmlSchemaReference> get_Candidates ()

/** @property */
public abstract void set_Candidates (IList<XmlSchemaReference> value)
public abstract function get Candidates () : IList<XmlSchemaReference>

public abstract function set Candidates (value : IList<XmlSchemaReference>)

속성 값

A list of XmlSchemaReference objects that represent schemas that import a target namespace. By default, the list is empty.

설명

A schema that imports a target namespace must be compiled with another schema that defines that target namespace; otherwise, compile errors will occur. If no schema in or included by the set of Sources defines a particular target namespace, this set of locations is searched. This process is called auto-association.

Candidates that have a null target namespace or a null location are ignored.

스레드 보안

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 모든 인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 및 Windows 2000

대상 플랫폼

참고 항목

참조

XmlSchemaSetBuilder 클래스
XmlSchemaSetBuilder 멤버
Microsoft.VisualStudio.XmlEditor 네임스페이스