System.Xml.Schema.XmlSchemaObjectTable Class

Assembly: System.Xml.dll
Namespace: System.Xml.Schema
Summary
A collection class that provides read-only helpers for XmlSchemaObject objects. This class is used to provide the collections for contained elements that are within the schema as collections that are accessed from the XmlSchema class (for example, Attributes, AttributeGroups, Elements, and so on).
C# Syntax:
public class XmlSchemaObjectTable
See also:
System.Xml.Schema Namespace

System.Xml.Schema.XmlSchemaObjectTable Member List:

Public Properties
Count Read-only

Item Read-only

Looks up the qualified name by the supplied XmlQualifiedName and returns the XmlSchemaObject which is the XML Schema definition language (XSD) element for this qualified name. Returns a null reference if there is a qualified "no" name associated with the given name.
Names Read-only

Returns a collection of all the named elements in the collection as XmlSchemaObject.
Values Read-only

Returns a collection of the values for all the elements in the collection as XmlSchemaObject.
Public Methods
Contains Returns true if the specified qualified name is in the collection.
Equals
(inherited from System.Object)
See base class member description: System.Object.Equals

Derived from System.Object, the primary base class for all objects.
GetEnumerator Returns an enumerator for the XmlSchemaObject contained in the collection.
GetHashCode
(inherited from System.Object)
See base class member description: System.Object.GetHashCode

Derived from System.Object, the primary base class for all objects.
GetType
(inherited from System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
ToString
(inherited from System.Object)
See base class member description: System.Object.ToString

Derived from System.Object, the primary base class for all objects.
Protected Methods
Finalize
(inherited from System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.Xml.Schema.XmlSchemaObjectTable Member Details

Property: Count (read-only)
Summary
Gets the count of the items in the table.
C# Syntax:
public int Count {get;}

Return to top


Property: Item (read-only)
Summary
Looks up the qualified name by the supplied XmlQualifiedName and returns the XmlSchemaObject which is the XML Schema definition language (XSD) element for this qualified name. Returns a null reference if there is a qualified "no" name associated with the given name.
C# Syntax:
public XmlSchemaObject this[XmlQualifiedName name] {get;}
Parameters:

name

The XmlQualifiedName.

Remarks
Returns null if there is qualified name associated with the given name.

Return to top


Property: Names (read-only)
Summary
Returns a collection of all the named elements in the collection as XmlSchemaObject.
C# Syntax:
public ICollection Names {get;}

Return to top


Property: Values (read-only)
Summary
Returns a collection of the values for all the elements in the collection as XmlSchemaObject.
C# Syntax:
public ICollection Values {get;}

Return to top


Method: Contains(
   XmlQualifiedName name
)
Summary
Returns true if the specified qualified name is in the collection.
C# Syntax:
public bool Contains(
   XmlQualifiedName name
);
Parameters:

name

The XmlQualifiedName.

Return Value:
true if the qualified name is in the collection; otherwise false.
Remarks
Returns false if a null value is supplied because there is not a qualified name for a null name. For more information, see XmlQualifiedName.

Return to top


Method: Equals(
   object obj
)
Inherited
See base class member description: System.Object.Equals
C# Syntax:
public virtual bool Equals(
   object obj
);

For more information on members inherited from System.Object click on the link above.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
C# Syntax:
~XmlSchemaObjectTable();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetEnumerator()
Summary
Returns an enumerator for the XmlSchemaObject contained in the collection.
C# Syntax:
public IDictionaryEnumerator GetEnumerator();
Return Value:
Returns the XmlSchemaObject objects.

Return to top


Method: GetHashCode()
Inherited
See base class member description: System.Object.GetHashCode
C# Syntax:
public virtual int GetHashCode();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
C# Syntax:
public Type GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
C# Syntax:
protected object MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: ToString()
Inherited
See base class member description: System.Object.ToString
C# Syntax:
public virtual string ToString();

For more information on members inherited from System.Object click on the link above.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.