DemoClass.DoSomething(System.String)


Sub with an Optional Parameter call Parameter

Namespace: DemoDocLib.DemoNamespace
Assembly: DemoDocLib

Syntax

Visual Basic
Public Sub DoSomething( _
	Optional ByVal Parameter As System.String = "Default" _
)
C#
public void DoSomething(
	[Optional, DefaultParameterValue("Default")] System.String Parameter
)

Parameter

Parameter
Type: System.String
Optional Parameter

Remarks



This WikiPage was created with Codeplex WikiEditor

Last edited Jun 28, 2010 at 10:14 PM by SoftHai, version 2

Comments

No comments yet.