예제 #1
0
 /// <summary>
 /// Helper function to match a given data blob within the value of a
 /// PLIST_DATA node.
 /// </summary>
 /// <param name="datanode">
 /// node of type PLIST_KEY
 /// </param>
 /// <param name="cmpval">
 /// data blob to match
 /// </param>
 /// <param name="n">
 /// size of data blob passed in cmpval
 /// </param>
 /// <returns>
 /// 1 if the node's value contains the given data blob
 /// or 0 if not.
 /// </returns>
 public virtual int plist_data_val_contains(PlistHandle datanode, ref char cmpval, uint n)
 {
     return(PlistNativeMethods.plist_data_val_contains(datanode, ref cmpval, n));
 }