Share via


SrgsDocument.XmlBase Property

Gets or sets the base URI of the SrgsDocument class.

Namespace: Microsoft.Speech.Recognition.SrgsGrammar
Assembly: Microsoft.Speech (in microsoft.speech.dll)

Syntax

'Declaration
Public Property XmlBase As Uri
public Uri XmlBase { get; set; }
public:
property Uri^ XmlBase {
    Uri^ get ();
    void set (Uri^ value);
}
/** @property */
public Uri get_XmlBase ()

/** @property */
public void set_XmlBase (Uri value)
public function get XmlBase () : Uri

public function set XmlBase (value : Uri)

Property Value

The current base URI of SrgsDocument.

Remarks

When the XmlBase property is set to a value other than null, the location of the reference for the grammar that is generated by SrgsDocument is read from the xml:base attribute.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

SrgsDocument Class
SrgsDocument Members
Microsoft.Speech.Recognition.SrgsGrammar Namespace