Virtual PhotonicsNamespace: Vts.ExtensionsAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
public static T[] PopulateWithValue<T>(
this T[] myArray,
T value
)
where T : struct, new()
public static T[] PopulateWithValue<T>(
this T[] myArray,
T value
)
where T : struct, new()
<ExtensionAttribute>
Public Shared Function PopulateWithValue(Of T As {Structure, New}) (
myArray As T(),
value As T
) As T()
<ExtensionAttribute>
Public Shared Function PopulateWithValue(Of T As {Structure, New}) (
myArray As T(),
value As T
) As T()
public:
[ExtensionAttribute]
generic<typename T>
where T : value class, gcnew()
static array<T>^ PopulateWithValue(
array<T>^ myArray,
T value
)
public:
[ExtensionAttribute]
generic<typename T>
where T : value class, gcnew()
static array<T>^ PopulateWithValue(
array<T>^ myArray,
T value
)
Parameters
- myArray
- Type: T
- value
- Type: T
- T
Return Value
Type:
T Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).