ParameterContract Constructors
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.
Overloads
ParameterContract() |
Initializes a new instance of the ParameterContract class. |
ParameterContract(String, String, String, String, Nullable<Boolean>, IList<String>, String, String, IDictionary<String,ParameterExampleContract>) |
Initializes a new instance of the ParameterContract class. |
ParameterContract()
Initializes a new instance of the ParameterContract class.
public ParameterContract ();
Public Sub New ()
Applies to
ParameterContract(String, String, String, String, Nullable<Boolean>, IList<String>, String, String, IDictionary<String,ParameterExampleContract>)
Initializes a new instance of the ParameterContract class.
public ParameterContract (string name, string type, string description = default, string defaultValue = default, bool? required = default, System.Collections.Generic.IList<string> values = default, string schemaId = default, string typeName = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ApiManagement.Models.ParameterExampleContract> examples = default);
new Microsoft.Azure.Management.ApiManagement.Models.ParameterContract : string * string * string * string * Nullable<bool> * System.Collections.Generic.IList<string> * string * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ApiManagement.Models.ParameterExampleContract> -> Microsoft.Azure.Management.ApiManagement.Models.ParameterContract
Public Sub New (name As String, type As String, Optional description As String = Nothing, Optional defaultValue As String = Nothing, Optional required As Nullable(Of Boolean) = Nothing, Optional values As IList(Of String) = Nothing, Optional schemaId As String = Nothing, Optional typeName As String = Nothing, Optional examples As IDictionary(Of String, ParameterExampleContract) = Nothing)
Parameters
- name
- String
Parameter name.
- type
- String
Parameter type.
- description
- String
Parameter description.
- defaultValue
- String
Default parameter value.
- schemaId
- String
Schema identifier.
- typeName
- String
Type name defined by the schema.
- examples
- IDictionary<String,ParameterExampleContract>
Exampled defined for the parameter.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET