SoapServices.XmlNsForClrType Propriedade
Definição
Obtém o prefixo de namespace de XML para tipos de Common Language Runtime.Gets the XML namespace prefix for common language runtime types.
public:
static property System::String ^ XmlNsForClrType { System::String ^ get(); };
public static string XmlNsForClrType { get; }
member this.XmlNsForClrType : string
Public Shared ReadOnly Property XmlNsForClrType As String
Valor da propriedade
O prefixo do namespace XML para tipos de Common Language Runtime.The XML namespace prefix for common language runtime types.
Exceções
O chamador imediato não tem permissão de infraestrutura.The immediate caller does not have infrastructure permission.
Exemplos
O exemplo de código a seguir mostra como usar essa propriedade.The following code example shows how to use this property. Este exemplo de código faz parte de um exemplo maior fornecido para a SoapServices classe.This code example is part of a larger example provided for the SoapServices class.
// Print the XML namespace for the CLR types.
Console::WriteLine( L"The XML namespace for the CLR types "
L"is {0}.", SoapServices::XmlNsForClrType );
// Print the XML namespace for the CLR types.
Console.WriteLine(
"The XML namespace for the CLR types " +
"is {0}.",
SoapServices.XmlNsForClrType);
Comentários
Os protocolos WSDL e SOAP codificam Common Language Runtime classes em namespaces XML.WSDL and SOAP protocols encode common language runtime classes into XML namespaces. A propriedade Current especifica o formato dos namespaces XML.The current property specifies the format for the XML namespaces. Todos os namespaces XML para uma classe de Common Language Runtime começam com o String que a propriedade atual retorna.All XML namespaces for a common language runtime class start with the String that the current property returns.