Aracılığıyla paylaş


ParserError.ErrorText Özellik

Tanım

Nesnenin ParserError hatasını temsil eden bir dize alır veya ayarlar.

public:
 property System::String ^ ErrorText { System::String ^ get(); void set(System::String ^ value); };
public string ErrorText { get; set; }
member this.ErrorText : string with get, set
Public Property ErrorText As String

Özellik Değeri

Hata iletisini içeren bir dize.

Örnekler

Aşağıdaki kod örneği, bir ParserError nesnenin özelliğinin nasıl doldurulduğunu ErrorText gösterir.

MyParserError.ErrorText = "My Error Text";
myParserError.ErrorText = "My Error Text"

Açıklamalar

Nesnede ErrorText görüntülenecek ayrıştırıcı hataları için programcı tanımlı bir ParserError hata iletisi sağlamak için özelliğini kullanın.

Şunlara uygulanır