Mono.Xaml.ManagedXamlLoader.TrySetCollectionContentProperty C# (CSharp) Метод

TrySetCollectionContentProperty() приватный Метод

private TrySetCollectionContentProperty ( string xmlns, object target, Value target_ptr, IntPtr target_data, Value value_ptr, IntPtr value_data ) : bool
xmlns string
target object
target_ptr Mono.Value
target_data System.IntPtr
value_ptr Mono.Value
value_data System.IntPtr
Результат bool
		private unsafe bool TrySetCollectionContentProperty (string xmlns, object target, Value* target_ptr, IntPtr target_data, Value* value_ptr, IntPtr value_data)
		{
			IList list = target as IList;

			if (list == null)
				return false;

			object value = Value.ToObject (null, value_ptr);

			list.Add (value);
			return true;
		}