System.Windows.Forms.Clipboard.ClipboardContainsFormat C# (CSharp) Method

ClipboardContainsFormat() static private method

static private ClipboardContainsFormat ( ) : bool
return bool
		internal static bool ClipboardContainsFormat (params string[] formats)
		{
			/*
			IntPtr clipboard_handle;
			int[] native_formats;
			DataFormats.Format item_format;

			clipboard_handle = XplatUI.ClipboardOpen (false);
			native_formats = XplatUI.ClipboardAvailableFormats (clipboard_handle);
			
			if (native_formats == null)
				return false;
				
			foreach (int i in native_formats) {
				// We might get a format we don't understand or know
				item_format = DataFormats.GetFormat (i);
				
				if (item_format != null)
					if (((IList)formats).Contains (item_format.Name))
						return true;
			}
				*/
			return false;
		}
		#endregion