ValidationContext.ServiceContainer 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 validation services container.
public:
property System::ComponentModel::Design::IServiceContainer ^ ServiceContainer { System::ComponentModel::Design::IServiceContainer ^ get(); };
public System.ComponentModel.Design.IServiceContainer ServiceContainer { get; }
member this.ServiceContainer : System.ComponentModel.Design.IServiceContainer
Public ReadOnly Property ServiceContainer As IServiceContainer
Property Value
The validation services container.
Remarks
The ServiceContainer property is used for getting services during validation.
If the IServiceProvider provider that is specified in the constructor implements the IServiceContainer interface, the provider is used to initialize the ServiceContainer property. Otherwise the ServiceContainer property is initialized to an empty container.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.