UnregisterProperty() публичный Метод

Unregisters a property for a specific type.
The is null. The is null or whitespace.
public UnregisterProperty ( Type type, string name ) : void
type System.Type The type for which to register the property.
name string The name of the property.
Результат void
Пример #1
0
        /// <summary>
        /// Unregisters the property.
        /// <para />
        /// Note that the unregistration of a property applies to all models of the same type. It is not possible to
        /// unregister a property for a single instance of a type.
        /// </summary>
        /// <param name="modelType">Type of the model, required because it cannot be retrieved in a static context.</param>
        /// <param name="name">The name.</param>
        protected internal static void UnregisterProperty(Type modelType, string name)
        {
            Argument.IsNotNull("modelType", modelType);
            Argument.IsNotNullOrWhitespace("name", name);

            PropertyDataManager.UnregisterProperty(modelType, name);
        }