MFORMATSLib Namespace > MFRendererClass Class : PropsGet Method |
Public Overridable Sub PropsGet( _ ByVal _bsPropName As String, _ ByRef _pbsPropValue As String _ )
public virtual void PropsGet( string _bsPropName, out string _pbsPropValue )
public procedure PropsGet( _bsPropName: String; Out _pbsPropValue: String ); virtual;
public: virtual void PropsGet( BSTR* _bsPropName, [PARAMFLAG::Out] BSTR* _pbsPropValue )
Here is example of how to get all the properties from "info" node, i.e. get all the information about a file:
string strInfo = ""; int nCount; m_objMFReader.PropsGetCount("info", out nCount); for (int i = 0; i < nCount; i++) { string strName; string strValue; int isNode; m_objMFReader.PropsGetByIndex("info", i, out strName, out strValue, out isNode); strInfo += strName + ": " + strValue + Environment.NewLine; }