共用方式為


DocDataTextReader Class

Derives from TextReader and provides a standard mechanism for reading from a Visual Studio text buffer.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣告
<CLSCompliantAttribute(False)> _
Public Class DocDataTextReader _
    Inherits TextReader _
    Implements IServiceProvider
'用途
Dim instance As DocDataTextReader
[CLSCompliantAttribute(false)]
public class DocDataTextReader : TextReader, 
    IServiceProvider
[CLSCompliantAttribute(false)]
public ref class DocDataTextReader : public TextReader, 
    IServiceProvider
[<CLSCompliantAttribute(false)>]
type DocDataTextReader =  
    class
        inherit TextReader
        interface IServiceProvider
    end
public class DocDataTextReader extends TextReader implements IServiceProvider

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.IO.TextReader
      Microsoft.VisualStudio.Shell.Design.Serialization.DocDataTextReader

Thread Safety

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

See Also

Reference

DocDataTextReader Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace