System.Xaml.Schema.XamlTypeInvoker.GetAddMethod C# (CSharp) Méthode

GetAddMethod() public méthode

public GetAddMethod ( XamlType contentType ) : MethodInfo
contentType XamlType
Résultat System.Reflection.MethodInfo
		public virtual MethodInfo GetAddMethod (XamlType contentType)
		{
			return type == null || type.UnderlyingType == null || type.ItemType == null || type.LookupCollectionKind () == XamlCollectionKind.None ? null : type.UnderlyingType.GetMethod ("Add", new Type [] {contentType.UnderlyingType});
		}