Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Attempts to return the encoding used by the reader.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaration
Protected Overridable Function TryGetEncoding ( _
reader As XmlReader, _
<OutAttribute> ByRef encoding As Encoding _
) As Boolean
protected virtual bool TryGetEncoding(
XmlReader reader,
out Encoding encoding
)
protected:
virtual bool TryGetEncoding(
XmlReader^ reader,
[OutAttribute] Encoding^% encoding
)
abstract TryGetEncoding :
reader:XmlReader *
encoding:Encoding byref -> bool
override TryGetEncoding :
reader:XmlReader *
encoding:Encoding byref -> bool
protected function TryGetEncoding(
reader : XmlReader,
encoding : Encoding
) : boolean
Parameters
- reader
Type: System.Xml.XmlReader
- encoding
Type: System.Text.Encoding%
Return Value
Type: System.Boolean
Remarks
The reader will be positioned at the start of the document when calling this method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.