ParameterMetadata.GetParameterMetadata(Type) 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.
Gets a dictionary of parameter metadata for the supplied type
.
public:
static System::Collections::Generic::Dictionary<System::String ^, System::Management::Automation::ParameterMetadata ^> ^ GetParameterMetadata(Type ^ type);
public static System.Collections.Generic.Dictionary<string,System.Management.Automation.ParameterMetadata> GetParameterMetadata (Type type);
static member GetParameterMetadata : Type -> System.Collections.Generic.Dictionary<string, System.Management.Automation.ParameterMetadata>
Public Shared Function GetParameterMetadata (type As Type) As Dictionary(Of String, ParameterMetadata)
Parameters
- type
- Type
CLR Type for which the parameter metadata is constructed.
Returns
A Dictionary of ParameterMetadata keyed by parameter name. null if no parameter metadata is found.
Exceptions
type is null.