BlockKeyedCollection<T>.Add Method
NOTE: This member is now obsolete. Use the method that accepts the block only instead.
Assigns the name to the block then adds it to the collection.
Public Function Add( _
ByVal name As String, _
ByVal block As T _
) As Integer
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
name
-
string
The name that will override the block name
-
block
-
T
The block
Return Value
int
.NET Framework
Supported in: 4.5, 4.6, 4.7