Edit

Share via


MaskDescriptor.Mask Property

Definition

Gets the mask being defined.

public:
 abstract property System::String ^ Mask { System::String ^ get(); };
public abstract string Mask { get; }
public abstract string? Mask { get; }
member this.Mask : string
Public MustOverride ReadOnly Property Mask As String

Property Value

A String containing the mask being defined.

Remarks

The mask must contain only valid characters, as defined by the IsValidMaskChar method of the MaskedTextProvider class. When a predefined mask is selected in Visual Studio, its Mask property is displayed.

Applies to

See also