Exemple #1
0
		internal Properties(nsIProperties properties)
		{
			_properties = properties;
		//    [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
		//System.IntPtr Get([MarshalAs(UnmanagedType.LPStr)] string prop, ref System.Guid iid);
		
		///// <summary>
		///// Sets a property with a given name to a given value.
		///// </summary>
		//[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
		//void Set([MarshalAs(UnmanagedType.LPStr)] string prop, [MarshalAs(UnmanagedType.Interface)] nsISupports value);
		}
        internal Properties(nsIProperties properties)
        {
            _properties = properties;
            //    [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
            //System.IntPtr Get([MarshalAs(UnmanagedType.LPStr)] string prop, ref System.Guid iid);

            ///// <summary>
            ///// Sets a property with a given name to a given value.
            ///// </summary>
            //[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
            //void Set([MarshalAs(UnmanagedType.LPStr)] string prop, [MarshalAs(UnmanagedType.Interface)] nsISupports value);
        }
Exemple #3
0
 internal Properties(nsIProperties properties)
 {
     _properties = properties;
 }
Exemple #4
0
 internal Properties(nsIProperties properties)
 {
     _properties = new ComPtr<nsIProperties>( properties );
 }
Exemple #5
0
        public static nsIProperties GetProxy(Mono.WebBrowser.IWebBrowser control, nsIProperties obj)
        {
            object o = Base.GetProxyForObject(control, typeof(nsIProperties).GUID, obj);

            return(o as nsIProperties);
        }
Exemple #6
0
		public static nsIProperties GetProxy (Mono.WebBrowser.IWebBrowser control, nsIProperties obj)
		{
			object o = Base.GetProxyForObject (control, typeof(nsIProperties).GUID, obj);
			return o as nsIProperties;
		}