Edit

Share via


DataTable.GetSchema Method

Definition

For a description of this member, see GetSchema().

protected:
 virtual System::Xml::Schema::XmlSchema ^ GetSchema();
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Members from serialized types may use dynamic code generation.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")]
protected virtual System.Xml.Schema.XmlSchema? GetSchema();
protected virtual System.Xml.Schema.XmlSchema? GetSchema();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")]
protected virtual System.Xml.Schema.XmlSchema? GetSchema();
protected virtual System.Xml.Schema.XmlSchema GetSchema();
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Members from serialized types may use dynamic code generation.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")>]
abstract member GetSchema : unit -> System.Xml.Schema.XmlSchema
override this.GetSchema : unit -> System.Xml.Schema.XmlSchema
abstract member GetSchema : unit -> System.Xml.Schema.XmlSchema
override this.GetSchema : unit -> System.Xml.Schema.XmlSchema
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")>]
abstract member GetSchema : unit -> System.Xml.Schema.XmlSchema
override this.GetSchema : unit -> System.Xml.Schema.XmlSchema
Protected Overridable Function GetSchema () As XmlSchema

Returns

An XmlSchema that describes the XML representation of the object that is produced by the WriteXml(XmlWriter) method and consumed by the ReadXml(XmlReader) method.

Attributes

Applies to