AttributeTableBuilder.ValidateTable 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.
Verifies that the attribute table that is being built contains valid attribute information.
public:
void ValidateTable();
public void ValidateTable ();
member this.ValidateTable : unit -> unit
Public Sub ValidateTable ()
Exceptions
the state of the table is invalid.
Remarks
Some overrides of AddCustomAttributes cannot validate that values passed to their parameters represent valid members on classes. ValidateTable verifies that all custom attribute information corresponds to actual members. This method can take a long time to complete and is not recommended unless validation is explicitly needed.
Applies to
.NET