System.Xml.XmlNodeReaderNavigator.GetDocumentTypeAttr C# (CSharp) Méthode

GetDocumentTypeAttr() public méthode

public GetDocumentTypeAttr ( XmlDocumentType docType, String name ) : String
docType XmlDocumentType
name String
Résultat String
            public String GetDocumentTypeAttr ( XmlDocumentType docType, String name ) {
                //PreCondition: nav is pointing at DocumentType node or one of its virtual attributes
                if ( name == strPublicID )
                    return docType.PublicId;
                if ( name == strSystemID )
                    return docType.SystemId;
                return null;
            }

Same methods

XmlNodeReaderNavigator::GetDocumentTypeAttr ( int i ) : String