XmlSchemaReference 생성자

Initializes a new instance of the XmlSchemaReference class.

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

사용법

구문

‘선언
Public Sub New ( _
    targetNamespace As String, _
    location As Uri _
)
public XmlSchemaReference (
    string targetNamespace,
    Uri location
)
public:
XmlSchemaReference (
    String^ targetNamespace, 
    Uri^ location
)
public XmlSchemaReference (
    String targetNamespace, 
    Uri location
)
public function XmlSchemaReference (
    targetNamespace : String, 
    location : Uri
)

매개 변수

  • targetNamespace
    The target namespace of the XML schema. Can be null.
  • location
    The location of the XML schema file. Can be null.

설명

Either the targetNamespace or the Uniform Resource Identifier (URI) location can be null. Typically, the URI is first consulted to locate the schema. If that is not available, or does not reference a valid resource, the builder will attempt to find all schemas that have a matching target namespace. If the TargetNamespace is null, the resolved XmlSchemaReference will copy the targetNamespace attribute from the XML Schema file specified by the URI.

This class (and derived classes) should always be kept immutable, meaning that the data contained in the instance cannot be changed after construction is complete.

플랫폼

개발 플랫폼

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

대상 플랫폼

참고 항목

참조

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