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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om