共用方式為


ValidationController.WarningMessages Property

Gets a copy of all the active warning messages.

Namespace:  Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public ReadOnly Property WarningMessages As ReadOnlyCollection(Of ValidationMessage)
    Get
public ReadOnlyCollection<ValidationMessage> WarningMessages { get; }
public:
property ReadOnlyCollection<ValidationMessage^>^ WarningMessages {
    ReadOnlyCollection<ValidationMessage^>^ get ();
}
member WarningMessages : ReadOnlyCollection<ValidationMessage>
function get WarningMessages () : ReadOnlyCollection<ValidationMessage>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ValidationMessage>

.NET Framework Security

See Also

Reference

ValidationController Class

Microsoft.VisualStudio.Modeling.Validation Namespace