Validator.GetFullPropertyName(ValidationManager) Method
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.
Helper method to extract the full property name.
protected:
System::String ^ GetFullPropertyName(System::Workflow::ComponentModel::Compiler::ValidationManager ^ manager);
protected string GetFullPropertyName (System.Workflow.ComponentModel.Compiler.ValidationManager manager);
member this.GetFullPropertyName : System.Workflow.ComponentModel.Compiler.ValidationManager -> string
Protected Function GetFullPropertyName (manager As ValidationManager) As String
Parameters
- manager
- ValidationManager
The ValidationManager linked to the validation.
Returns
The full property name.
Exceptions
manager
is null
.
Remarks
Useful when the validated property is nested. The method traverses the PropertyValidationContext in the stack to build the full name of the property.
For example: the name My.Actor.Bas is built using three PropertyValidationContext items.
If the validated property belongs to an object that is an item in a collection, the method will produce the name of the collection.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應