Partager via


MessagePropertyAttribute.CanBeNull Property

 

Gets or sets a value that indicates whether the class or property is allowed to be null. The default value is false.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public bool CanBeNull { get; set; }
public:
property bool CanBeNull {
    bool get();
    void set(bool value);
}
Public Property CanBeNull As Boolean

Property Value

Type: System.Boolean

See Also

MessagePropertyAttribute Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top