XmlDictionaryReader.TryGetLocalNameAsDictionaryString 方法

定义

不在此类中实现(它始终返回 false)。 可在派生类中重写。

public:
 virtual bool TryGetLocalNameAsDictionaryString([Runtime::InteropServices::Out] System::Xml::XmlDictionaryString ^ % localName);
public virtual bool TryGetLocalNameAsDictionaryString (out System.Xml.XmlDictionaryString localName);
public virtual bool TryGetLocalNameAsDictionaryString (out System.Xml.XmlDictionaryString? localName);
abstract member TryGetLocalNameAsDictionaryString : XmlDictionaryString -> bool
override this.TryGetLocalNameAsDictionaryString : XmlDictionaryString -> bool
Public Overridable Function TryGetLocalNameAsDictionaryString (ByRef localName As XmlDictionaryString) As Boolean

参数

localName
XmlDictionaryString

除非在派生类中重写,否则返回 null。 .

返回

Boolean

除非在派生类中重写,否则为 false

适用于