AODL.Document.SpreadsheetDocuments.SpreadsheetDocument.GetObjectByName C# (CSharp) Method

GetObjectByName() public method

public GetObjectByName ( string ObjectName ) : EmbedObject
ObjectName string
return AODL.Document.Content.EmbedObjects.EmbedObject
		public EmbedObject  GetObjectByName(string ObjectName)
		{
			for(int i=0; i<EmbedObjects.Count ; i++)
			{
				if (((EmbedObject)EmbedObjects[i]).ObjectName==ObjectName)

					return (EmbedObject)EmbedObjects[i];

			}

			return null;
		}