Am in process of building my custom component. Am trying to read values of PipleBuffer by GetProperty("propertyname").GetValue() as below:
public override void ProcessInput(int inputID, PipelineBuffer buffer)
{
while (buffer.NextRow())
{
string nk = buffer[1].ToString();
string nk1 = buffer.GetType().GetProperty("NK").GetValue(buffer, null).ToString();
at line buffer[1].ToString() work fine, but at next line it fails throwing :
NullReferenceException : object reference not set to an instance of an object
Any clues please.
Cannot create object instance of PipleBuffer as is under protection level.