Version

InitializeFrom Method

Clears all data in the Grammar and copies the data from the specified Grammar.
Syntax
'Declaration
 
Public Sub InitializeFrom( _
   ByVal source As Grammar _
) 
public void InitializeFrom( 
   Grammar source
)

Parameters

source
The instance from which the Grammar is to be initialized.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when source is null.
System.ArgumentExceptionOccurs when source is equal to the Grammar on which InitializeFrom is called.
System.InvalidOperationException Occurs when the target Grammar is immutable.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also