Udostępnij za pośrednictwem


SrgsElement Class

Definition

Defines the base class for classes in the System.Speech.Recognition.SrgsGrammar namespace that correspond to the elements in an SRGS grammar.

public ref class SrgsElement abstract : MarshalByRefObject
public abstract class SrgsElement : MarshalByRefObject
[System.Serializable]
public abstract class SrgsElement : MarshalByRefObject
type SrgsElement = class
    inherit MarshalByRefObject
[<System.Serializable>]
type SrgsElement = class
    inherit MarshalByRefObject
Public MustInherit Class SrgsElement
Inherits MarshalByRefObject
Inheritance
Derived
Attributes

Remarks

The SrgsElement class is the base class for the following classes, which correspond to elements defined in the Speech Recognition Grammar Specification (SRGS) Version 1.0:

Two additional classes inherit from SrgsElement and represent the text contained within the classes listed above (SrgsText), and recognition matching modes (SrgsSubset):

Constructors

SrgsElement()

Initializes a new instance of the SrgsElement class.

Methods

CreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService()
Obsolete.

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService()
Obsolete.

Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to