SoapAnyUri 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
XSD anyURI
형식을 래핑합니다.
public ref class SoapAnyUri sealed : System::Runtime::Remoting::Metadata::W3cXsd2001::ISoapXsd
[System.Serializable]
public sealed class SoapAnyUri : System.Runtime.Remoting.Metadata.W3cXsd2001.ISoapXsd
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class SoapAnyUri : System.Runtime.Remoting.Metadata.W3cXsd2001.ISoapXsd
[<System.Serializable>]
type SoapAnyUri = class
interface ISoapXsd
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type SoapAnyUri = class
interface ISoapXsd
Public NotInheritable Class SoapAnyUri
Implements ISoapXsd
- 상속
-
SoapAnyUri
- 특성
- 구현
예제
다음 코드 예제에서 멤버를 사용 하는 방법을 보여 줍니다 합니다 SoapAnyUri 간을 변환 하는 클래스를 SoapAnyUri 개체와 XSD anyURI
문자열입니다.
#using <System.dll>
#using <System.Runtime.Remoting.dll>
using namespace System;
using namespace System::Runtime::Remoting::Metadata::W3cXsd2001;
int main()
{
// Parse an XSD formatted string to create a SoapAnyUri object.
String^ xsdAnyUri = L"http://localhost:8080/WebService";
SoapAnyUri^ anyUri = SoapAnyUri::Parse( xsdAnyUri );
// Print the value of the SoapAnyUri object in XSD format.
Console::WriteLine( L"The SoapAnyUri object in XSD format is {0}.", anyUri );
// Print the XSD type string of the SoapAnyUri object.
Console::WriteLine( L"The XSD type of the SoapAnyUri "
L"object is {0}.", anyUri->GetXsdType() );
// Print the value of the SoapAnyUri object.
Console::WriteLine( L"The value of the SoapAnyUri object is {0}.", anyUri->Value );
// Print the XSD type string of the SoapAnyUri class.
Console::WriteLine( L"The XSD type of the SoapAnyUri class "
L"is {0}.", SoapAnyUri::XsdType );
return 1;
}
using System;
using System.Runtime.Remoting.Metadata.W3cXsd2001;
public class Demo
{
public static void Main(string[] args)
{
// Parse an XSD formatted string to create a SoapAnyUri object.
string xsdAnyUri = "http://localhost:8080/WebService";
SoapAnyUri anyUri = SoapAnyUri.Parse(xsdAnyUri);
// Print the value of the SoapAnyUri object in XSD format.
Console.WriteLine(
"The SoapAnyUri object in XSD format is {0}.",
anyUri.ToString());
// Print the XSD type string of the SoapAnyUri object.
Console.WriteLine("The XSD type of the SoapAnyUri " +
"object is {0}.", anyUri.GetXsdType());
// Print the value of the SoapAnyUri object.
Console.WriteLine(
"The value of the SoapAnyUri object is {0}.",
anyUri.Value);
// Print the XSD type string of the SoapAnyUri class.
Console.WriteLine(
"The XSD type of the SoapAnyUri class " +
"is {0}.", SoapAnyUri.XsdType);
}
}
설명
XSD 데이터 형식에 대한 자세한 내용은 XML 데이터 형식 참조를 참조하세요.
생성자
SoapAnyUri() |
SoapAnyUri 클래스의 새 인스턴스를 초기화합니다. |
SoapAnyUri(String) |
URI가 지정된 SoapAnyUri 클래스의 새 인스턴스를 초기화합니다. |
속성
Value |
URI를 가져오거나 설정합니다. |
XsdType |
현재 SOAP 형식의 XSD(XML Schema Definition Language)를 가져옵니다. |
메서드
Equals(Object) |
지정된 개체가 현재 개체와 같은지 확인합니다. (다음에서 상속됨 Object) |
GetHashCode() |
기본 해시 함수로 작동합니다. (다음에서 상속됨 Object) |
GetType() |
현재 인스턴스의 Type을 가져옵니다. (다음에서 상속됨 Object) |
GetXsdType() |
현재 SOAP 형식의 XSD(XML Schema Definition Language)를 반환합니다. |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다. (다음에서 상속됨 Object) |
Parse(String) |
지정된 String을 SoapAnyUri 개체로 변환합니다. |
ToString() |
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET