FormError.Name Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the FormError object.
public:
abstract property System::String ^ Name { System::String ^ get(); };
public abstract string Name { get; }
member this.Name : string
Public MustOverride ReadOnly Property Name As String
Property Value
The name specified when the error was created.
Remarks
The value of the Name property is used only to identify custom errors (errors of type FormErrorType.UserSpecified) in the FormErrorCollection collection. It is not used for schema validation–generated or system-generated errors. If the type of error is schema validation generated or system generated, the Name property will return a null reference (Nothing in Visual Basic).
This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.