Show / Hide Table of Contents

Class Parameter

Represents a method's parameter.

Inheritance
System.Object
Parameter
Implements
IParameter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Discovery
Assembly: Google.Apis.Core.dll
Syntax
public class Parameter : IParameter

Properties

DefaultValue

Gets the default value of this parameter.

Declaration
public string DefaultValue { get; set; }
Property Value
Type Description
System.String

IsRequired

Gets an indication whether this parameter is optional or required.

Declaration
public bool IsRequired { get; set; }
Property Value
Type Description
System.Boolean

Name

Gets the name of the parameter.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

ParameterType

Gets the type of the parameter.

Declaration
public string ParameterType { get; set; }
Property Value
Type Description
System.String

Pattern

Gets the pattern that this parameter must follow.

Declaration
public string Pattern { get; set; }
Property Value
Type Description
System.String

Implements

IParameter

Extension Methods

Utilities.ThrowIfNull<T>(T, String)
In This Article
Back to top